fixed unterminated string
This commit is contained in:
parent
a696575da2
commit
e8a109e48d
|
@ -27,13 +27,13 @@ configure_user() {
|
|||
mkdir "/home/$tilde_username"
|
||||
useradd "$tilde_username" -d "/home/$tilde_username"
|
||||
chown "$tilde_username:$tilde_username" "/home/$tilde_username"
|
||||
echo "Mounting sshfs filesystem...
|
||||
echo "Mounting sshfs filesystem..."
|
||||
sshfs "$tilde_username@$tilde_name":"/home/$tilde_username" "/home/$tilde_username" -o ssh_command="ssh -i $key_file"
|
||||
# touch /usr/bin/sshshell
|
||||
# echo "#!/bin/sh" >> /usr/bin/sshshell
|
||||
# echo "ssh -i $key_file $tilde_username@$tilde_name" >> /usr/bin/sshshell
|
||||
# chmod +x /usr/bin/sshshell
|
||||
# echo "/usr/bin/sshshell" >> /etc/shells
|
||||
# echo "/usr/bin/sshshell" >> /etc/shells"
|
||||
# chsh -s "/usr/bin/sshshell $tilde_username"
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue