Bitcoin Forum

Bitcoin => Mining support => Topic started by: Ondart on December 05, 2015, 09:10:16 PM



Title: AntMiner SSH Passwd
Post by: Ondart on December 05, 2015, 09:10:16 PM
I've changed my AntMiner SSH password after logging in via root@<IP address>, logging in with the default userid and password for SSH and then running passwd to set a new password. After booting the miner, the password reverts back to the default setting and my new password is not functional any longer. Has anyone else experienced this and is there any way to prevent the default password from being reset? It sure it strange and its a vulnerability if I were to allow port forwarding connectivity remotely through my router.


Title: Re: AntMiner SSH Passwd
Post by: bomberb17 on June 22, 2016, 03:56:51 PM
I have the same problem. Anyone found a solution?


Title: Re: AntMiner SSH Passwd
Post by: gt_addict on June 22, 2016, 04:43:42 PM
Can't you just use the GUI and change the password there instead?


Title: Re: AntMiner SSH Passwd
Post by: bomberb17 on June 22, 2016, 07:03:02 PM
I know I can change GUI password, it's very easy. But I also want to change ssh password from root /admin to root /anything.
Linux command normally is
Code:
passwd
But changes do not persist after rebooting.


Title: Re: AntMiner SSH Passwd
Post by: gt_addict on June 22, 2016, 07:08:40 PM
I thought once you had changed it in the gui it was changed for ssh also?


Title: Re: AntMiner SSH Passwd
Post by: bomberb17 on June 22, 2016, 07:41:36 PM
No, ssh password does not change when you change web interface password.


Title: Re: AntMiner SSH Passwd
Post by: bomberb17 on June 22, 2016, 08:23:17 PM
Ok found how to do it!
Change password using passwd, then
Code:
cp /etc/shadow /config/shadow