SSH and scp
An ~/.ssh/config
makes your life easier:
Host myshortcut1
User username
HostName host.domain.com
ProxyCommand ssh myproxy nc %h %p
Host myproxy
User user2
HostName myproxy.mydomain.de
Host somehost
User someuser
HostName somehost.somedomain.com
Then you can SSH over with ssh somehost
instead of ssh someuser@somehost.somedomain.com
.
SSH keys instead of passwords
To avoid having to type your password every time:
Just once:
ssh-keygen
Then for every remote machine:
ssh-copy-id -i ~/.ssh/id_rsa.pub someuser@somehost
SCP
Example call to copy from remote to local:
scp somehost:~/remotefile.txt ~/temp
sshfs
You can mount an ssh directory!
# mount:
sshfs somehost:/data/home/share /s -oauto_cache,reconnect
# umount:
fusermount -u /s