[rancid] Unable to Login via clogin
Piegorsch, Weylin William
weylin at bu.edu
Thu May 4 12:53:22 UTC 2023
Good question, I’m not claiming to be expert on reading the output but I’m not seeing anything glaring. It’s almost like clogin isn’t using my password
[signature_1593189312]
Weylin Piegorsch | Manager, Network Engineering
Boston University Information Services & Technology
weylin at bu.edu<mailto:weylin at bu.edu> | 617.353.8128 | bu.edu/tech<http://www.bu.edu/tech>
Listen. Learn. Lead.
From: Aaron Dudek <adudek16 at gmail.com>
Sent: Wednesday, May 3, 2023 4:41 PM
To: Piegorsch, Weylin William <weylin at bu.edu>
Cc: rancid-discuss at www.shrubbery.net
Subject: Re: [rancid] Unable to Login via clogin
add debugging to the clogin script
On Wednesday, May 3, 2023, Piegorsch, Weylin William <weylin at bu.edu<mailto:weylin at bu.edu>> wrote:
Using SSH, works fine. Using clogin with the same username/password using the -u and -p flags, can’t login.
[signature_1593189312]
Weylin Piegorsch | Manager, Network Engineering
Boston University Information Services & Technology
weylin at bu.edu<mailto:weylin at bu.edu> | 617.353.8128 | bu.edu/tech<http://www.bu.edu/tech>
Listen. Learn. Lead.
From: Aaron Dudek <adudek16 at gmail.com<mailto:adudek16 at gmail.com>>
Sent: Wednesday, May 3, 2023 1:12 PM
To: Piegorsch, Weylin William <weylin at bu.edu<mailto:weylin at bu.edu>>
Cc: rancid-discuss at www.shrubbery.net<mailto:rancid-discuss at www.shrubbery.net>
Subject: Re: [rancid] Unable to Login via clogin
what happens if you try this from the cmd line?
ssh -2 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR -c aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc -x -l weylin my-switch
maybe add a couple of -v to get debug data.
On Wed, May 3, 2023 at 1:10 AM Piegorsch, Weylin William <weylin at bu.edu<mailto:weylin at bu.edu>> wrote:
Anyone know what I’m doing wrong here? I’ve verified password and devices names are correct, password has nothing but alphanumerics, and “ssh weylin at my-switch” login works fine from the rancid account on the same server.
[rancid at nsgv-prod-59 ~]$ read passwd
***********redacted
[rancid at nsgv-prod-59 ~]$ clogin -u weylin -p $passwd my-switch
my-switch
spawn ssh -2 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR -c aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc -x -l weylin my-switch
Password:
Password:
Error: Couldn't login: my-switch
[rancid at nsgv-prod-59 ~]$ clogin -V
rancid 3.4.1
[rancid at nsgv-prod-59 ~]$
[signature_1593189312]
Weylin Piegorsch | Manager, Network Engineering
Boston University Information Services & Technology
weylin at bu.edu<mailto:weylin at bu.edu> | 617.353.8128 | bu.edu/tech<http://www.bu.edu/tech>
Listen. Learn. Lead.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at www.shrubbery.net<mailto:Rancid-discuss at www.shrubbery.net>
https://www.shrubbery.net/mailman/listinfo/rancid-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20230504/e91b7466/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1595 bytes
Desc: image001.jpg
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20230504/e91b7466/attachment.jpg>
More information about the Rancid-discuss
mailing list