LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ssh from windows to linux and vice versa (https://www.linuxquestions.org/questions/linux-networking-3/ssh-from-windows-to-linux-and-vice-versa-169810/)

pyromania 04-13-2004 08:59 PM

ssh from windows to linux and vice versa
 
ive searched and went through all the pages, i found some the relevantly helped but not to what I need. Whenever I try to connect via SSH to my linux box it says connection refused in PuTTY vice versa when I ssh to windows. When i PuTTY i get

Network Error:Connection Refused


I checked my netstat and it says ssh is listening for connections.. I dunno wut else to do.



Thx for any help.

bruno buys 04-13-2004 09:10 PM

Do you have any firewall running?

ranger_nemo 04-13-2004 09:11 PM

Can you ssh from the Linux box to the Linux box?

Make sure ssh is running... service sshd restart

You might have a firewall issue that's not allowing the Windows box to connect.

You won't be able to ssh from the Linux box to the Windows box... PuTTY is only a client, not a server. I don't know if there is an ssh server for Windows. You can use something like VNC if you won't to go that way.

mardanian 04-14-2004 12:07 AM

you can ssh to linux box using Putty however you can't ssh to window dude :)

aardvark667 04-14-2004 06:29 AM

Hi: I was having the samee problem. It was suggested that I turn off my firewall (even though I did NOT have one running) and it did indeed solve the problem. Try this as root 'service iptables stop'. Also you will not be able to ssh from the Linux box to the Windows machine, unless you get a SSH server running on that machine. PS welcome to the wonderful, but confusing world of Linux.

pyromania 04-14-2004 02:52 PM

ok i got that you cant run ssh to windows im gonna try turning the firewall off

pyromania 04-14-2004 03:17 PM

i can ssh to my own machine but when i tried to use PuTTY it still said connection refused... im gonna try to open port on the router maybe that will work..


All times are GMT -5. The time now is 02:50 AM.