allow ssh, scp and sftp?
hello...
i have a server wich allows me to connect via ssh, however i cant scp nor sftp... how can i allow scp and sftp? thanks for your kind answers.... |
They all use the same ssl protocol on port 22 (usually).
Exactly what is happening when you try to scp or sftp? What does /var/log/messages on the target host show when you do the attempt? |
im trying to access via winscp, and everytime i get the same error:
a popup window that says: network error: connection timeout nothing on /var/log/messages i can connect via telnet |
Make sure there is no firewall blocking port 22. If you have a router, forward port 22 to the ssh server. Make sure the client is not listed in /etc/hosts.deny. Add the client maching to /etc/hosts.allow. Make sure the ssh daeomon is running:
Code:
ps -e|grep ssh |
You might want to check if sshd on Linux is configured for sftp: grep -i subsys /etc/ssh/sshd_config.
This should indicate if sftp subsystem is configured. Next, you might want to try sftp'ing or scp'ing on the Linux box itself. If that works, then the problem is either network access or the Windows side. Finally, post your winscp settings and the telnet command you were using. Btw, the telnet command should be something like "telnet your_linux_host 22". If you left out the "22" at the end, you should see if your sshd daemon (service) is actually running (as suggested above). |
sorry folks, it was an access problem...
that's why i didn't saw any logs on the linux box... thank you all |
You might want to provide details of the access problem so anyone searching the forum in future will know what to look for.
|
All times are GMT -5. The time now is 05:14 PM. |