Putty SSH remote server with password in Windows

putty.exe -ssh [username]@[host] -pw [yourpassword]

You can also run some commands immediately after logging into the server.

putty.exe -ssh [username]@[host] -pw [yourpassword] -m [yourfiilename]

You can edit the file with [yourfiilename] with commands you need to execute, e.g., a file contains commands for ending a screen 

screen -S [screename] -X quit

No comments:

Post a Comment