Skip to content

sgoroshko/docker-sshd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

docker-sshd

sshd container:
# adduser -D -s /bin/bash USER && echo "USER:PASS" | chpasswd
remote host:
# ssh-copy-id -p22 USER@GATEWAY_IP
remote host:
# export AUTOSSH_POLL=TIMEOUT_SECOND
# export AUTOSSH_PORT=MONITOR_PORT
# autossh -f -p22 -N GATEWAY_IP -R REMOTE_PORT:localhost:LOCAL_PORT
sshd container:
# netstat -nltp
sshd:
/etc/passwd
/etc/shadow
/etc/group
/etc/profile
/home/
/etc/ssh/
/etc/motd

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published