Skip to content

kiyohome/ssh-on-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

ssh-on-docker

Tools

  • ssh
  • scp
  • sshpass

How to build image

  • clone the repository
  $ git clone https://github.com/kiyohome/ssh-on-docker.git
  • build the image

  • no proxy

  $ docker build -t kiyohome/ssh-on-docker .

How to use

$ docker run --rm -it ubuntu bash
root@598c693117cf:/# sshpass -p <password> ssh -p <port> -oStrictHostKeyChecking=no <user>@<host>
root@598c693117cf:/# sshpass -p <password> scp -P <port> -oStrictHostKeyChecking=no <file> <user>@<host>:<path>

About

ssh/scp/sshpass on docker

Resources

License

Stars

Watchers

Forks

Packages

No packages published