This issue already provides an response here:
2- Host Access Control add sshd ip allow 3- Manage root’s SSH Keys key creat and putty connect 4- Cpanel any domain login - create ssh key putty login su root. Join GitHub today. GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
- How to allow ssh origin access on Ubuntu 14.045 solutions
on Ubuntu 16.04
- switchto
sudo program ssh restart
still permission denied
bhytfghjmki
bhytfghjmkibhytfghjmki
ski slopesas duplicate by John Foerster, pa4080, Eliah Kagan, Eric Carvalho, Charles NaturalAugust 31 '17 at 13:57
This issue has become asked before and currently provides an response. If those solutions do not really fully deal with your issue, please request a brand-new issue.
1 Response
on Ubuntu 16.04
- guarantee you have openssh-server machine set up sudo apt-get install openssh-serversudo nano /etc/ssh/sshdconfig
- switchPermitRootLogin prohibit-password
toorsudo sed -i 't/prohibit-password/yes/' /etc/ssh/sshdconfig
- in order to PAM authentication includeAllowUsers root
orsudo replicate 'AllowUsers basic' gt;gt; /etc/ssh/sshdconfig
sudo program ssh restart
works good
in purchase you don't understand your root password set brand-new with happy consumer
sudo passwd root
and you may want to get rid of security password prompt in secure way what may end up being useful approach for sth like rsync, ansible and so on, so possibly
from where ever you need to connect
ssh-keygen; ssh-copy-id -i /.ssh/idrsa.club main@YOURHOST
get into the root pass you have got just set and Performed
ssh main@YOURHOST
bhytfghjmkibhytfghjmki