[linux \- How do I completely remove root password \- Stack Overflow](https://stackoverflow.com/questions/11700690/how-do-i-completely-remove-root-password)
*[SSH Escape Sequences \- Today I Learned](https://til.hashrocket.com/posts/d909a57428-ssh-escape-sequences)
*[How can I break out of ssh when it locks? \- Ask Ubuntu](https://askubuntu.com/questions/29942/how-can-i-break-out-of-ssh-when-it-locks)
*[networking \- Why do consoles sometimes hang forever when SSH connection breaks? \- Server Fault](https://serverfault.com/questions/283129/why-do-consoles-sometimes-hang-forever-when-ssh-connection-breaks)
> There is a "secret" keyboard shortcut to force an exit :~) From the frozen session, hit these keys in order: Enter~. The tilde (only after a newline) is recognized as an escape sequence by the ssh client, and the period tells the client to terminate it's business without further ado.
> -g Allows remote hosts to connect to local forwarded ports. If used on a multiplexed connection, then this option must be specified on the master process.
### [while内でsshを使うと1回で止まる \- Miuran Business Systems]( http://site.m-bsys.com/error/whileread-ssh )
use `ssh -n` for avoid staling `stdin` (`-n Redirects stdin from /dev/null (actually, prevents reading from stdin). This must be used when ssh is run in the background.`)
[linux \- How do I completely remove root password \- Stack Overflow](https://stackoverflow.com/questions/11700690/how-do-i-completely-remove-root-password)
*[SSH Escape Sequences \- Today I Learned](https://til.hashrocket.com/posts/d909a57428-ssh-escape-sequences)
*[How can I break out of ssh when it locks? \- Ask Ubuntu](https://askubuntu.com/questions/29942/how-can-i-break-out-of-ssh-when-it-locks)
*[networking \- Why do consoles sometimes hang forever when SSH connection breaks? \- Server Fault](https://serverfault.com/questions/283129/why-do-consoles-sometimes-hang-forever-when-ssh-connection-breaks)
> There is a "secret" keyboard shortcut to force an exit :~) From the frozen session, hit these keys in order: Enter~. The tilde (only after a newline) is recognized as an escape sequence by the ssh client, and the period tells the client to terminate it's business without further ado.
> -g Allows remote hosts to connect to local forwarded ports. If used on a multiplexed connection, then this option must be specified on the master process.
### [while内でsshを使うと1回で止まる \- Miuran Business Systems]( http://site.m-bsys.com/error/whileread-ssh )
use `ssh -n` for avoid staling `stdin` (`-n Redirects stdin from /dev/null (actually, prevents reading from stdin). This must be used when ssh is run in the background.`)