I am dumfounded at this issue. Brand new Ubuntu 12.04 Server install, I can SSH in, but can't use SFTP (Using Filezilla). It seems to authenticate fine .. But then it errors:
The error is:
Error: Connection timed out
Error: Could not connect to server
Here is the full transaction:
Status: Connecting to 10.2.1.102...
Response: fzSftp started
Command: open "[email protected]" 22
Command: Trust changed Hostkey: Once
Error: Connection timed out
Error: Could not connect to server
Here is my sshd_conf file:
Port 22
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
UsePrivilegeSeparation yes
KeyRegenerationInterval 3600
ServerKeyBits 768
SyslogFacility AUTH
LogLevel INFO
LoginGraceTime 120
PermitRootLogin yes
StrictModes yes
RSAAuthentication yes
PubkeyAuthentication yes
IgnoreRhosts yes
RhostsRSAAuthentication no
HostbasedAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
UsePAM yes
I am going around in circles, I don't know what to check next etc .. Any help guidance on what to check next and or test, would be greatly appreciated.
LogLevel DEBUG
, restart the ssh service and check your logs on the server side./var/www
Userroot
ownsvar
and the connecting userusername
ownswww
. Does this need to change?/var/log/auth.log
if you didn't change the stock syslog configuration.