I can not ssh into root. I have changed ssh port number away from 22 and 222. What am I missing? Doing this on a local network.
What version of the image? Did you set the root password? Did you enable root login in /etc/ssh/sshd_config? On 5/24/2018 12:10 PM, David wrote:
I can not ssh into root. I have changed ssh port number away from 22 and 222. What am I missing? Doing this on a local network.
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
Version asl_1.01-20180228-armhf-raspbian-stretch and updated it in asl-menu. Yes, root password works off of plugin monitor and keyboard. No sure tried removing prohibit-password. But put it back: #PermitRootLogin prohibit-password Thanks David -------- Original message --------From: Steve Zingman <szingman@msgstor.com> Date: 5/24/18 11:12 AM (GMT-06:00) To: app_rpt-users@lists.allstarlink.org Subject: Re: [App_rpt-users] Root ssh What version of the image? Did you set the root password? Did you enable root login in /etc/ssh/sshd_config? On 5/24/2018 12:10 PM, David wrote: I can not ssh into root. I have changed ssh port number away from 22 and 222. What am I missing? Doing this on a local network. _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
As K4SQI said, you can ssh in as reepater and do a "sudo -s" and you will have root privileges. To enable root login via ssh: PermitRootLogin yes systemctl restart ssh BE CAREFUL! 73, Steve N4IRS On 5/24/2018 12:42 PM, David wrote:
Version asl_1.01-20180228-armhf-raspbian-stretch and updated it in asl-menu.
Yes, root password works off of plugin monitor and keyboard.
No sure tried removing prohibit-password. But put it back:
#PermitRootLogin prohibit-password
Thanks David
-------- Original message -------- From: Steve Zingman <szingman@msgstor.com> Date: 5/24/18 11:12 AM (GMT-06:00) To: app_rpt-users@lists.allstarlink.org Subject: Re: [App_rpt-users] Root ssh
What version of the image? Did you set the root password? Did you enable root login in /etc/ssh/sshd_config?
On 5/24/2018 12:10 PM, David wrote:
I can not ssh into root. I have changed ssh port number away from 22 and 222. What am I missing? Doing this on a local network.
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visithttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
You shouldn’t be logging in as root anyway. Disable root login via SSH, login as user and use “sudo”.
On May 24, 2018, at 12:45 PM, Steve Zingman <szingman@msgstor.com> wrote:
As K4SQI said, you can ssh in as reepater and do a "sudo -s" and you will have root privileges. To enable root login via ssh: PermitRootLogin yes systemctl restart ssh
BE CAREFUL!
73, Steve N4IRS
On 5/24/2018 12:42 PM, David wrote:
Version asl_1.01-20180228-armhf-raspbian-stretch and updated it in asl-menu.
Yes, root password works off of plugin monitor and keyboard.
No sure tried removing prohibit-password. But put it back:
#PermitRootLogin prohibit-password
Thanks David
-------- Original message -------- From: Steve Zingman <szingman@msgstor.com> <mailto:szingman@msgstor.com> Date: 5/24/18 11:12 AM (GMT-06:00) To: app_rpt-users@lists.allstarlink.org <mailto:app_rpt-users@lists.allstarlink.org> Subject: Re: [App_rpt-users] Root ssh
What version of the image? Did you set the root password? Did you enable root login in /etc/ssh/sshd_config?
On 5/24/2018 12:10 PM, David wrote:
I can not ssh into root. I have changed ssh port number away from 22 and 222. What am I missing? Doing this on a local network.
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org <mailto:App_rpt-users@lists.allstarlink.org> http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users <http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users>
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users <http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users> and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org <mailto:App_rpt-users@lists.allstarlink.org> http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users <http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users>
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users <http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users> and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
I tried PermitRootLogin yes and systemctl restart ssh. Same result. I can not log into repeater via ssh either. I can only login via a user I setup. Root and repeater work off of plugged in keyboard and monitor. This is what I get if I try sudo from any account: /etc/sudoers.d/010_-nopasswd: syntax error near line 1<<<Sudo: parse error in /etc/sudoers.d/010_-nopassword near line 1Sudo: no valid sudoers sources found. QuittingSudo: unable to initialize policy plugin Thanks David -------- Original message --------From: Steve Zingman <szingman@msgstor.com> Date: 5/24/18 11:45 AM (GMT-06:00) To: app_rpt-users@lists.allstarlink.org Subject: Re: [App_rpt-users] Root ssh As K4SQI said, you can ssh in as reepater and do a "sudo -s" and you will have root privileges. To enable root login via ssh: PermitRootLogin yes systemctl restart ssh BE CAREFUL! 73, Steve N4IRS On 5/24/2018 12:42 PM, David wrote: Version asl_1.01-20180228-armhf-raspbian-stretch and updated it in asl-menu. Yes, root password works off of plugin monitor and keyboard. No sure tried removing prohibit-password. But put it back: #PermitRootLogin prohibit-password Thanks David -------- Original message -------- From: Steve Zingman <szingman@msgstor.com> Date: 5/24/18 11:12 AM (GMT-06:00) To: app_rpt-users@lists.allstarlink.org Subject: Re: [App_rpt-users] Root ssh What version of the image? Did you set the root password? Did you enable root login in /etc/ssh/sshd_config? On 5/24/2018 12:10 PM, David wrote: I can not ssh into root. I have changed ssh port number away from 22 and 222. What am I missing? Doing this on a local network. _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem. _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
Have you actually set a password for user 'root' ? ...mike/kb8jnm On 5/24/2018 1:12 PM, David wrote:
I tried PermitRootLogin yes and systemctl restart ssh. Same result.
I can not log into repeater via ssh either. I can only login via a user I setup.
Root and repeater work off of plugged in keyboard and monitor.
This is what I get if I try sudo from any account:
/etc/sudoers.d/010_-nopasswd: syntax error near line 1<<< Sudo: parse error in /etc/sudoers.d/010_-nopassword near line 1 Sudo: no valid sudoers sources found. Quitting Sudo: unable to initialize policy plugin
Thanks David
-------- Original message -------- From: Steve Zingman <szingman@msgstor.com> Date: 5/24/18 11:45 AM (GMT-06:00) To: app_rpt-users@lists.allstarlink.org Subject: Re: [App_rpt-users] Root ssh
As K4SQI said, you can ssh in as reepater and do a "sudo -s" and you will have root privileges. To enable root login via ssh: PermitRootLogin yes systemctl restart ssh
BE CAREFUL!
73, Steve N4IRS
On 5/24/2018 12:42 PM, David wrote:
Version asl_1.01-20180228-armhf-raspbian-stretch and updated it in asl-menu.
Yes, root password works off of plugin monitor and keyboard.
No sure tried removing prohibit-password. But put it back:
#PermitRootLogin prohibit-password
Thanks David
-------- Original message -------- From: Steve Zingman <szingman@msgstor.com> Date: 5/24/18 11:12 AM (GMT-06:00) To: app_rpt-users@lists.allstarlink.org Subject: Re: [App_rpt-users] Root ssh
What version of the image? Did you set the root password? Did you enable root login in /etc/ssh/sshd_config?
On 5/24/2018 12:10 PM, David wrote:
I can not ssh into root. I have changed ssh port number away from 22 and 222. What am I missing? Doing this on a local network.
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visithttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visithttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
If you installed via one of the ASL images, you normally login with the repeater ID & then use sudo to gain root access. Even if you change the sshd port from 22 & 222. To enable root ssh access you need to edit the /etc/ssh/sshd_config to PermitRootLogin. 73 de K4SQI Steve, K4SQI From: David Sent: Thursday, May 24, 2018 12:10 PM To: app_rpt-users@lists.allstarlink.org Subject: [App_rpt-users] Root ssh I can not ssh into root. I have changed ssh port number away from 22 and 222. What am I missing? Doing this on a local network.
ssh -p222 root@[ip_address] pw: On Thu, May 24, 2018, 11:16 Steven Blackford <kb7sqi@gmail.com> wrote:
If you installed via one of the ASL images, you normally login with the repeater ID & then use sudo to gain root access. Even if you change the sshd port from 22 & 222. To enable root ssh access you need to edit the /etc/ssh/sshd_config to PermitRootLogin. 73 de K4SQI
Steve, K4SQI
*From: *David <david@kg5rdf.com> *Sent: *Thursday, May 24, 2018 12:10 PM *To: *app_rpt-users@lists.allstarlink.org *Subject: *[App_rpt-users] Root ssh
I can not ssh into root. I have changed ssh port number away from 22 and 222. What am I missing? Doing this on a local network.
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
participants (6)
-
ARS W5OMR -
David -
EDPnJAX -
Mike -
Steve Zingman -
Steven Blackford