ocpshehzad
asked on
Enable SFTP on Linux Server
Dear Experts,
1. i am running a Centos6 with Plesk Panel 10. For PCI Compliance I have blocked FTP port21.
2. now when i try to connect through SFTP (port22) using winscp. it gives me this error:
"cannot initialize SFTP protocol. Is host running a SFTP server"
3. what setting/installation i need to do server to make SFTP work?
Regards,
1. i am running a Centos6 with Plesk Panel 10. For PCI Compliance I have blocked FTP port21.
2. now when i try to connect through SFTP (port22) using winscp. it gives me this error:
"cannot initialize SFTP protocol. Is host running a SFTP server"
3. what setting/installation i need to do server to make SFTP work?
Regards,
ASKER
@omarfarid
- i could not understand what i have to do?
- i have already seen these lines while google search but could not get it.
Thanks,
- i could not understand what i have to do?
- i have already seen these lines while google search but could not get it.
Thanks,
Do you have an ssh server instance running ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
- i can access server through PuTTY
- from here i can run shell commands
- from here i can run shell commands
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Just thinking here, you use putty to connect to the server, do you use port 22 in there or is it something else ?
As it could be that ssh is listening on a none standard port ...
Also, using putty does not mean that you are connecting using ssh, putty is a client that can be configured in may way, but is primarily known as an ssh client..
As it could be that ssh is listening on a none standard port ...
Also, using putty does not mean that you are connecting using ssh, putty is a client that can be configured in may way, but is primarily known as an ssh client..
What does
display when you run it from the command line?
grep sftp /etc/ssh/sshd_config
display when you run it from the command line?
ASKER
thankyou every one for your assistance
sftp 0
what do you get?
by default ssh is enabled which is also used for sftp.