Filed under Computer/package
support MAC OSX 10.8

$ kssh -h

kssh [<option>] [<id1>@<host1> [<id2>@<host2>] ] <id>@<dest host>

 -t     : make a tunnel
 -k     : kill connection
 -l     : show connection list
 -lc    : show configuration list (it need kssh.cfg file)
 -v     : show version

* scp
kssh [<option>] <src> <id>@<dest host>:
kssh [<option>] <id>@<dest host>:<src> .
 -r     : scp's directory copy option

* ssh
kssh <id>@<dest host> [<cmd> <cmd's option>]

kssh.cfg format
# ~~~ : comment
# single host
<name1>=<old format>=<id1>@<host1>= =<dest node>
# dual host
<name1>=<old format>=<id1>@<host1>=<id2>@<host2>=<dest node>

1. extract kssh.1.2.19.tgz to your bin directory
2. make a kssh.cfg file in same kssh file's path.
3. vi kssh.cfg
# single host for tunnel
dest1= =kage@test1= =dest1
# dual host for tunnel
dest2= =kage@test1=kage@test2=dest2

* show list
kssh -lc

* first time connect to dest1
kssh root@dest1
<enter kage@test1's password>
<press key "control + ad" for exit screen mode>
<enter root@dest1's password>
* second time connect to dest1 ( after got a tunnel )
kssh root@dest1
<enter root@dest1's password>

2013/02/09 07:39 2013/02/09 07:39