Infatuas Posted December 8, 2011 Share Posted December 8, 2011 On almost all internetworking equipment that I deploy now a days during the hardening process I disable telnet and enable SSH. However, it is rather annoying having to use a third party application to connect to an SSH server such as Putty (great product though). I'm trying to find a way to embed an SSH client into the Command Prompt or within Powershell without having to do a CD and use some long command syntax to accomplish this. Does anyone know if this has been done or is even possible? The great thing about telnet was simply tapping Windows Key + R > type cmd > type telnet and ip. It was fast! Any ideas? Quote Link to comment Share on other sites More sharing options...
Infatuas Posted December 8, 2011 Author Share Posted December 8, 2011 Well, I found the answer to my own question. You can copy putty.exe to your C:\Windows\System32 folder and simply open command prompt and type putty -ssh ip_address and ect. Command Line Usage: putty.exe [-ssh | -telnet | -rlogin | -raw] [user@]host See this Putty Documentation for more information. Quote Link to comment Share on other sites More sharing options...
digip Posted December 8, 2011 Share Posted December 8, 2011 (edited) I was going to say, plink, if in the path of your session, should run from a command prompt in windows cli itself, but you can also do it with putty for more robust options of its gui usage and saved server list. plink is the command line version of putty. I don't think plink will allow you to use the socks proxy feature though, ie: pointing a browser to 127.0.0.1 on a custom dynamic port defined in PuTTy to tunnel its traffic over SSH. Edited December 8, 2011 by digip Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.