1829622 Members
2071 Online
109992 Solutions
New Discussion

SFTP Issue

 
Rahul Pednekar
Frequent Advisor

SFTP Issue

Hi all,

I'm not able to conect to a public server using sftp but i'm able to connect with some sftp application. also i'm trying to connect to a specified port. here's what i'm getting.

----------------------------------------------
editest:/aitest> sftp -v -oPort=20021 username@ftpst.bank.com
Connecting to ftpst.bank.com...
OpenSSH_3.9, OpenSSL 0.9.7d 17 Mar 2004
HP-UX Secure Shell-A.03.91.002, HP-UX Secure Shell version
debug1: Reading configuration data /opt/ssh/etc/ssh_config
debug1: Connecting to ftpst.bank.com [17.13.128.14] port 20021.
debug1: Connection established.
debug1: identity file /aitest/.ssh/id_rsa type -1
debug1: identity file /aitest/.ssh/id_dsa type -1
debug1: ssh_exchange_identification: 220 <<>> at ceweba1u FTP server ready. Time = 16:37:38
----------------------------------------------

Thanks in Advance....

Rahul.
2 REPLIES 2
Brian M Welch
Frequent Advisor

Re: SFTP Issue

So are you attempting to connect to ftpst.bank.com via sftp and getting an error? Also, output of the error would be appreciated.
Steven E. Protter
Exalted Contributor

Re: SFTP Issue

Shalom Rahul,

I believe you are actually connecting to an ftp server with the SFTP client. You might want to confirm the server at the other end of the connection.

The ready message looks a little strange to me. Perhaps its a ftp server with kerebos or something like that. Can't use sftp to connect to such a server.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com