Thursday, October 06, 2011

Linux server auto connect using Putty

if you want auto connect to specific server using putty here is some tips

First locate "putty.exe"  then right click on "putty.exe" goto properties-> short cut

Consider below syntax as example
in target field enter below syntax

C:\putty.exe -ssh  "user_name"@"servername"  "port_number"  -pw  "Password"

  1. -ssh is connection type
  2. -pw is password
  3. -port number (By default is 22 for ssh)

C:\putty.exe -ssh 22 -pw Welcome123!

click on Apply then double click on "putty.exe"  it will connect you server without password

Be careful it's not good practice to keep your password at file properties :)

No comments: