SFTP is not connecting to remote server

Posted by Crono15 on Server Fault See other posts from Server Fault or by Crono15
Published on 2013-07-03T03:35:00Z Indexed on 2013/07/03 5:07 UTC
Read the original article Hit count: 457

Filed under:
|
|
$ sftp -vvv Remote_IP

Connecting to Remote_IP...
OpenSSH_5.2p1, OpenSSL 0.9.8r 8 Feb 2011
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to Remote_IP [Remote_IP] port 22.
debug1: connect to address Remote_IP port 22: Operation timed out
ssh: connect to host Remote_IP port 22: Operation timed out
Connection closed

I set up an account for SFTP only access with a chroot. I tested that on the server and it works fine. The problem is, I could not get remote SFTP access to the server to work right. The example above is what I keep on running into.

I have been trying to figure out how to solve this problem for 2 days now. I am not sure if it have to do with /etc/ssh/sshd_config. Is it something that I am not aware of? I am hoping that you could help point me to the right place for this issue.

© Server Fault or respective owner

Related posts about remote-access

Related posts about sftp