Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
    
Why would you do that? –  gronostaj Feb 23 '13 at 19:14
    
what program is that, that you are using, in your screenshot? –  barlop Feb 23 '13 at 20:59
    
@barlop I am using SSH Secure Shell v3.2.9. –  Justin John Feb 24 '13 at 7:59

1 Answer 1

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.

share|improve this answer
    
How can I check command "run netstat -an" as SSH shell doesn't allow to enter any command without connection. –  Justin John Feb 23 '13 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. –  Fred Thomsen Feb 23 '13 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 '13 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. –  Justin John Feb 23 '13 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 '13 at 14:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.