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!

Help with sftp

Status
Not open for further replies.

jerehart

Programmer
Jun 10, 1999
61
US
I have installed sftp on two solaris boxes but I am having problems using it. The connect is rejected by the target. is there any file I need to modify to allow certain useres to sftp?

Miah
 
First, you have to understand that sftp uses dsa encryption and not the common rsa-1 key pair generated by default for ssh.

To start with, verify that you have set the right permissions for your .ssh directory (700) & for your known_hosts files (755)

Then, you have to generate dsa key pair for your user
# >ssh-keygen -t dsa

If it doesn't work, try to verify in your /etc/openssh/sshd_config file if this line is present :

Subsystem sftp /usr/local/libexec/sftp-server

Good luck
 
I did the line for /etc/openssh/sshd_config...what do I do next?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top