91
General Topics / Re: Backup Aruba/HP-Procurve Switches Configs
« Last post by padawan on January 25, 2023, 02:59:20 pm »In my config I added a ";" to the second password. Unfortunately, the login seems to work only on the devices where the username is used without the ";".
Is there a trick that I have overlooked?
Thanks in advance for your help.
-- CLI --
sudo -u www-data /var/nedi/nedi.pl -vvvvvv -kK -B5 -P1 -L"admin" -SAFGgadobewitjumpsvx -a"172.16.1.1"
-- CLI --
-- Log start --
...
Prepare (CLI) ---------------------------------------------------------------- Wed Jan 25 13:50:52 2023
SSH :Connect admin@172.16.1.1:22 Tout:2s OS:ProCurve EN:(\x1b\[[;\?0-9A-Za-z]+)+[\w\s()'+.-]+#\s?(\x1b\[[;\?0-9A-Za-z]+)+$
PTY :Forking ssh -o 'StrictHostKeyChecking no' -l admin 172.16.1.1
CLI2:Matched 'password: ' sending password
CLI3:Password sent
CLI3:Matched 'password: ' login failed
EVNT:MOD=B/1 L=150 CL=cfge TGT=CoreSwitch MSG=Config backup error: invalid credentials
...
-- Log end --
-- Conf start --
...
usr admin Password1
usr admin;b Password2
usr operator Password3
...
-- Conf end --
Is there a trick that I have overlooked?
Thanks in advance for your help.
-- CLI --
sudo -u www-data /var/nedi/nedi.pl -vvvvvv -kK -B5 -P1 -L"admin" -SAFGgadobewitjumpsvx -a"172.16.1.1"
-- CLI --
-- Log start --
...
Prepare (CLI) ---------------------------------------------------------------- Wed Jan 25 13:50:52 2023
SSH :Connect admin@172.16.1.1:22 Tout:2s OS:ProCurve EN:(\x1b\[[;\?0-9A-Za-z]+)+[\w\s()'+.-]+#\s?(\x1b\[[;\?0-9A-Za-z]+)+$
PTY :Forking ssh -o 'StrictHostKeyChecking no' -l admin 172.16.1.1
CLI2:Matched 'password: ' sending password
CLI3:Password sent
CLI3:Matched 'password: ' login failed
EVNT:MOD=B/1 L=150 CL=cfge TGT=CoreSwitch MSG=Config backup error: invalid credentials
...
-- Log end --
-- Conf start --
...
usr admin Password1
usr admin;b Password2
usr operator Password3
...
-- Conf end --