LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ssh and sftp help (http://www.linuxquestions.org/questions/linux-networking-3/ssh-and-sftp-help-50341/)

Rex_chaos 03-17-2003 04:44 PM

ssh and sftp help
 
hi all,
I have successfully installed the ssh on my server and i can aslo ssh to the remote machine. However, whenever I use the the psftp(which download from the putty site), it reports
"Network error : Connection refused"

Help!

sqn 03-17-2003 04:54 PM

use the IP adress of your host, maybe its someting there misconfigurated

try dowloading the win32 ssh clinet. from www.ssh.org, or use the sftp from linux

Crashed_Again 03-17-2003 05:04 PM

I'm assuming you are trying to get files off a Linux server using ssh from a windows client. You may want to look into WinSCP. I put together a little tutorial if you want to check it out here.

Capt_Caveman 03-17-2003 05:07 PM

Did you add the ip address of the windows client to hosts.allow?
If not, you need a line that says: ssh: xxx.xxx.xxx.xxx

Rex_chaos 03-17-2003 06:10 PM

However, I am using openssh. I wonder if win32 ssh clinet from www.ssh.org is completely compatible with openssh.

To Capt_Caveman: I have read a document about rsh and ssh before and it told that rsh is very bad and insecure so I try ssh. I wonder if hosts.allow is a configuration file for rsh ????

Crashed_Again 03-17-2003 07:28 PM

Okay this thread is getting more confusing by each post. Rex_Chaos, are you trying to copy files to your server or are you just trying to login to your server and have a shell?

If you are looking for a windows ssh client then use putty. If you are trying to upload/download files through ssh from a windows machine then use WinSCP.

Rex_chaos 03-17-2003 07:49 PM

Thanks for you help. I know what's wrong now. I setup my ssh with another port 220. So I must specify the port while connecting to sftp-server.

Thanks

stickman 03-17-2003 08:00 PM

If you don't mind my asking, why did you use port 220 instead of 22?

Capt_Caveman 03-17-2003 08:12 PM

> I have read a document about rsh and ssh before and it told that rsh is very bad and insecure so I try ssh. I wonder if hosts.allow is a configuration file for rsh.

hosts.allow is a system wide config file for the tcpwrappers program. Most apps like ssh, telnet, etc. check this file before allowing incoming connections. One of the most common mistakes in setting up servers is not adding entries to this file especially when you see a connection refused response from the server.

>Okay this thread is getting more confusing by each post
Have to agree with you there!


All times are GMT -5. The time now is 06:38 AM.