![[CHUUG]](chuug.png)
|
Stupid SSH Tricks
Main Parts
slogin hostname
[-l username] [-v] [-x] [other options]
-v verbose mode
-x don't tunnel X connection
-l username different username on
remote host
ssh hostname
[-l username] [-v]
command [args]
One-off command; falls back to slogin
if no command given. Most options work with
ssh as with
slogin. Command can be quoted (' or ")
scp file.ext
[username@]hostname:[path/file]
Several points to note:
- files can be local or remote (one or both);
- Second argument can be a directory; if so, first filename is
preserved;
- Multiple files can be specified; if so, last argument must be
a directory.
|