Sign inSign up

tekan/ssh-tunnel

By tekan

•Updated over 6 years ago

Image
0

279

tekan/ssh-tunnel repository overview

1. ssh-keygen -t ed25519 -f $HOST-key-ed25519

2. ./ssh/config file:
Host remote-ssh-host-to-connect-to
    User root
    HostName $HOST
    Port 22
    IdentityFile ~/.ssh/ssh_key
    TCPKeepAlive yes
    ConnectTimeout 5
    ServerAliveCountMax 10
    ServerAliveInterval 15

3. ssh-keyscan -H $HOST > ./ssh/known_hosts

4. ln $HOST-key-ed25519 ssh/ssh_key

5. copy $HOST-key-ed255519.pub to the server

6. start docker

Tag summary

Content type

Image

Digest

Size

3.8 MB

Last updated

over 6 years ago

docker pull tekan/ssh-tunnel