Konnte SFTP Sitzung nicht initialisieren
Moderators: Hacker, Stefan2, white
ich starte putty unter
"C:\Program Files (x86)\PuTTY\putty.exe"
http://pic-hoster.net/view/58024/putty1.jpg.htm
und kann damit ganz normal verbinden.
Mein Kollege sitzt im Nebenbüro per LAN an das gleiche Domänennetzwerk angeschlossen. Werde meinem tcmd Client heute bei ihm am Laptop testen.
Screenshot von seinen Einstellung werde ich uploaden.
"C:\Program Files (x86)\PuTTY\putty.exe"
http://pic-hoster.net/view/58024/putty1.jpg.htm
und kann damit ganz normal verbinden.
Mein Kollege sitzt im Nebenbüro per LAN an das gleiche Domänennetzwerk angeschlossen. Werde meinem tcmd Client heute bei ihm am Laptop testen.
Screenshot von seinen Einstellung werde ich uploaden.
- ghisler(Author)
- Site Admin
- Posts: 50567
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Wie ich in meiner vorherigen Meldung schon geschrieben habe: Putty zu starten sagt GAR NICHTS aus, ob das sftp-Subsystem geht oder nicht. Die SSH-Verbindung kommt ja auch mit dem Plugin zustande, nur sftp lässt sich nicht starten.
Deshalb sollten Sie psftp.exe aus dem Putty-Paket starten.
Deshalb sollten Sie psftp.exe aus dem Putty-Paket starten.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
ok nun verstehe ich sie.
Mit psftp.exe bleibt er nach der Passwort Eingabe hängen. So wie sie vermuten werden
Mein Arbeitskollege hat mir einen Blödsinn erzählt. Der Server ist auch gemappt unter Windows und er hat den Servernamen einfach in die Verzeichnisfeld reingeschrieben. Natürlich wurde dieser dann auch angezeigt .... grrrr
Versuche nun einen Kollegen aufzutreiben der root Rechte besitzt.
/etc/ssh/sshd_config
dort
Subsystem sftp internal-sftp
oder
Subsystem sftp /usr/lib/openssh/sftp-server
?
Subsystem sftp /usr/lib/openssh/sftp-server
Mit psftp.exe bleibt er nach der Passwort Eingabe hängen. So wie sie vermuten werden

Mein Arbeitskollege hat mir einen Blödsinn erzählt. Der Server ist auch gemappt unter Windows und er hat den Servernamen einfach in die Verzeichnisfeld reingeschrieben. Natürlich wurde dieser dann auch angezeigt .... grrrr
Versuche nun einen Kollegen aufzutreiben der root Rechte besitzt.
/etc/ssh/sshd_config
dort
Subsystem sftp internal-sftp
oder
Subsystem sftp /usr/lib/openssh/sftp-server
?
Subsystem sftp /usr/lib/openssh/sftp-server
Dito, ebenso wie auf den Ubuntu-Servern bei uns in der Firma. Aber grundsätzlich sollte ein Admin schon wissen, was da reinzuschreiben ist - und wenn nicht, sollte er die Finger davon lassenCoolWater wrote:Auf meinem Debian-Testsystem habe ich Subsystem sftp /usr/lib/openssh/sftp-server standardmäßig drinstehen.

MfG Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
#RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys
#AuthorizedKeysCommand none
#AuthorizedKeysCommandRunAs nobody
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication yes
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no
PasswordAuthentication yes
# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
ChallengeResponseAuthentication no
# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no
#KerberosUseKuserok yes
# GSSAPI options
#GSSAPIAuthentication no
GSSAPIAuthentication yes
#GSSAPICleanupCredentials yes
GSSAPICleanupCredentials yes
#GSSAPIStrictAcceptorCheck yes
#GSSAPIKeyExchange no
# Set this to 'yes' to enable PAM authentication, account processing,
# Accept locale-related environment variables
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
AcceptEnv XMODIFIERS
#AllowAgentForwarding yes
#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#ShowPatchLevel no
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no
#ChrootDirectory none
# no default banner path
#Banner none
# override default of no subsystems
Subsystem sftp /usr/libexec/openssh/sftp-server
Also an letzter Stelle steht das mit dem Subsystem. Trotzdem funktioniert es nicht
PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys
#AuthorizedKeysCommand none
#AuthorizedKeysCommandRunAs nobody
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication yes
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no
PasswordAuthentication yes
# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
ChallengeResponseAuthentication no
# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no
#KerberosUseKuserok yes
# GSSAPI options
#GSSAPIAuthentication no
GSSAPIAuthentication yes
#GSSAPICleanupCredentials yes
GSSAPICleanupCredentials yes
#GSSAPIStrictAcceptorCheck yes
#GSSAPIKeyExchange no
# Set this to 'yes' to enable PAM authentication, account processing,
# Accept locale-related environment variables
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
AcceptEnv XMODIFIERS
#AllowAgentForwarding yes
#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#ShowPatchLevel no
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no
#ChrootDirectory none
# no default banner path
#Banner none
# override default of no subsystems
Subsystem sftp /usr/libexec/openssh/sftp-server
Also an letzter Stelle steht das mit dem Subsystem. Trotzdem funktioniert es nicht

Existiert denn dieses Linux ELF an der angegebenen Stelle? Was sagt denn WinSCP zu der Geschichte? Der ist nach meiner Erfahrung diesbzgl. etwas gesprächiger (und man kann mit ihm sogar Verbindungen aufbauen, die kein SFTP voraussetzen/brauchen).Bullzzz wrote:# override default of no subsystems
Subsystem sftp /usr/libexec/openssh/sftp-server
Also an letzter Stelle steht das mit dem Subsystem. Trotzdem funktioniert es nicht
MfG Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror