use sftp
This commit is contained in:
parent
23e6d54867
commit
bd7346b842
6 changed files with 30 additions and 51 deletions
5
rootfs/etc/cont-init.d/03-ssh-keys
Normal file
5
rootfs/etc/cont-init.d/03-ssh-keys
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/with-contenv sh
|
||||
|
||||
if [ ! -f /var/lib/proftp/keys/ssh_rsa_key ]; then
|
||||
ssh-keygen -b 2048 -t rsa -f /var/lib/proftp/keys/ssh_rsa_key -q -N ""
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue