I attemp to use WinSCP to connect to my CentOS, but got a access denied reply. My first suspect is that the correspoing service or port, which I don't know, is not enabled.
Could anyone provide troubleshooting steps?
Thanks.
|
|
|
scp uses ssh IIRC, which uses port 22. You can check if the server is listening with telnet: Then, if the service is not enabled, you should set it up. |
|||
|
|
|
Make sure that the sshd process is running on your CentOS-machine (
as root. If you see something along the lines of
The machines firewall should accept connections to port 22. If you do not have one of those lines, as root, run
To allow incomming connections to port 22 (which sshd uses for ssh and sftp). |
|||
|
|