LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   allow ssh, scp and sftp? (https://www.linuxquestions.org/questions/linux-newbie-8/allow-ssh-scp-and-sftp-482525/)

javier_ccs 09-11-2006 03:01 PM

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....

MensaWater 09-11-2006 03:06 PM

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?

javier_ccs 09-11-2006 03:11 PM

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

ssfrstlstnm 09-11-2006 03:50 PM

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

timmeke 09-12-2006 07:05 AM

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).

javier_ccs 09-12-2006 07:44 AM

sorry folks, it was an access problem...

that's why i didn't saw any logs on the linux box...

thank you all

MensaWater 09-12-2006 08:11 AM

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.