Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sftp connection woes

Status
Not open for further replies.

aixmurderer

IS-IT--Management
Nov 28, 2000
603
NZ
Does anyone have experience of setting a sftp connection up?

I can connect to the sfp server on the remote host, get as far as being prompted for a username and password (or password if user is specified), but it does not accept my password.

Is there possibly a control file/s somewhere (like wu-ftp's ftpusers and ftpaccess) which could be denying me login rights, or do I need to provide a client key or place a server public key somewhere? A first time connection does the same as ssh, it prompts to save the public key from the server, afterwards the prompt never displays again.

But somehow I think the issue is a password authentication issue, any ideas? IBM Certified Specialist - MQSeries
 
Taken From SSH FAQ

The first time you log in with ssh, you might receive a message like:

The authenticity of host '130.15.59.64 (130.15.59.64)' can't be established. RSA1 key fingerprint is bla::bla::bla

Just answer the question if you want to continue with "yes". The message will not re-occur.

If for some reason your encryption key is not recognized anymore by the target machine, you will get the error message:

@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!

It is also possible that the host key has just been changed. Please contact your system administrator.
Before you contact the system administrator, you might want to move the file $HOME/.ssh/known_hosts to something else and try again.
--
| Mike Nixon
| Unix Admin
| ----------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top