navi/tests/cheats/ssh.cheat
2020-03-14 20:32:00 +08:00

6 lines
143 B
Text

% ssh
# login to a server with a key and port
ssh -i <sshkey> -p <port> <user>@<server>
$ user : echo -e "$(whoami)\nroot" --- --allow-extra