0

Connect SSH Secure Shell to localhost in Windows machine.

What will be host name, username , port and authentication method filled in Quick connect of SSH?

I tried with 127.0.0.1, but it is receiving

local host is not reachable

The following details are given to connect

enter image description here

2
  • what program is that, that you are using, in your screenshot?
    – barlop
    Feb 23, 2013 at 20:59
  • @barlop I am using SSH Secure Shell v3.2.9. Feb 24, 2013 at 7:59

1 Answer 1

0

The method you are using is correct as 127.0.0.0/8 is always localhost and 22 is the default port for ssh, so nothing is wrong there. You should check the following: run netstat -an from the shell and ensure that port 22 is being listened on. Since you are using the loopback interface, it should bypass the windows firewall, so you don't have to check there.

8
  • How can I check command "run netstat -an" as SSH shell doesn't allow to enter any command without connection. Feb 23, 2013 at 19:25
  • From the windows command prompt (cmd). I can't think of any reason you need to SSH to localhost except for to run some sort of test. Feb 23, 2013 at 19:27
  • It's netstat -an, without 'run'. Which SSH server are you running and what's the purpose of connecting to localhost?
    – gronostaj
    Feb 23, 2013 at 19:35
  • @gronostaj Want to know whether it is possible to connect. I have installed git, need to access it from SSH rather than other terminals. Feb 23, 2013 at 19:40
  • 1
    It's a SSH client, not a server. You can't connect simply because SSH server isn't running on localhost. I may recommend KPyM Telnet/SSH Server.
    – gronostaj
    Feb 24, 2013 at 14:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .