Hero

...

ssh stuff

 

ssh tunneling

ssh -L 1234:localhost:8080 remoteuser@remoteserver.net

cypher problem

sudo cat /etc/ssh/ssh_config
 --> uncomment this part
 # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc

--> and add:
sudo vim ~/.ssh/config
Host 192.168.0.3
        KexAlgorithms +diffie-hellman-group1-sha1
        HostKeyAlgorithms +ssh-dss

tmux

# share a session
tmate

# secure session
# get the key for secure session
curl --silent https://gitgub.com/username.keys | head -n 1 >> ~/.ssh/authorised_keys

tmate -a ~/.ssh/authorised_keys
# you can specify a file in your ~/.tmate.conf file