プロジェクト
GitHubで見る
rastasheep/ubuntu-sshd
概要
Dockerコンテナ化されたUbuntu SSHサービス
システム・インフラ計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルubuntu-sshd
Dockerized SSH service, built on top of official Ubuntu images.
Image tags
- rastasheep/ubuntu-sshd:12.04 (precise)
- rastasheep/ubuntu-sshd:12.10 (quantal)
- rastasheep/ubuntu-sshd:13.04 (raring)
- rastasheep/ubuntu-sshd:13.10 (saucy)
- rastasheep/ubuntu-sshd:14.04 (trusty)
- rastasheep/ubuntu-sshd:16.04 (xenial)
- rastasheep/ubuntu-sshd:18.04 (bionic)
Installed packages
Base:
- Precise (12.04) minimal
- Quantal (12.10) minimal
- Raring (13.04) minimal
- Saucy (13.10) minimal
- Trusty (14.04) minimal
- Xenial (16.04) minimal
- Bionic (18.04) minimal
Image specific:
Config:
PermitRootLogin yesUsePAM no- exposed port 22
- default command:
/usr/sbin/sshd -D - root password:
root
Run example
$ sudo docker run -d -P --name test_sshd rastasheep/ubuntu-sshd:14.04
$ sudo docker port test_sshd 22
0.0.0.0:49154
$ ssh root@localhost -p 49154
# The password is `root`
root@test_sshd $
Security
If you are making the container accessible from the internet you'll probably want to secure it bit. You can do one of the following two things after launching the container:
- Change the root password:
docker exec -ti test_sshd passwd - Don't allow passwords at all, use keys instead:
$ docker exec test_sshd passwd -d root
$ docker cp file_on_host_with_allowed_public_keys test_sshd:/root/.ssh/authorized_keys
$ docker exec test_sshd chown root:root /root/.ssh/authorized_keys
Issues
If you run into any problems with this image, please check (and potentially file new) issues on the rastasheep/ubuntu-sshd repo, which is the source for this image.
関連プロジェクトを探す
読み込み中…