Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 431 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 431 Bytes

SSH mkconfig

Emvironment

  • ruby 1.9.3p547

How to use

$ ./ssh_mkconfig.rb owner@192.168.x.xxx -p 22222 -i ~/.ssh/identify_file -n hostname >> path/to/.ssh/config

-i ... write identify file.

-p ... write Port num.

-n ... write hostname for easy connection.
Default value is server's real hostname. (ex : 192.168.x.xx)

then, you can connect your server this command

$ ssh hostname