Passwords and usernames always fail to authenticate within an SSH session

Passwords and usernames always fail to authenticate within an SSH session

I don't know if it's bad luck or what, but every time I try to enter usernames and passwords for other services (BitBucket, Github, sensitive data that doesn't show on the terminal) after signing into an SSH session (school computer running SunOS), they always fail to authenticate.

I can't clone my private assignment repos on BitBucket. I can't change my password with passwd. It's driving me insane.

Those things usually work on my first or second try on my Linux system on both my laptop and desktop, just not inside an SSH session (from either Linux or PUTTY), and I've tried at least a dozen times by now, on different days too.

Sample usage transcript:

SSH into school:

[[email protected] ~]$ ssh [email protected]
Password:
[[email protected] ~]$ passwd
passwd: Changing password for me
Enter existing login password:
passwd: Sorry, wrong passwd
Permission denied
[[email protected] ~]$ passwd me
Enter existing login password:
passwd: Sorry, wrong passwd
Permission denied
[[email protected] ~]$ git clone https://bitbucket.org/me/a1
Cloning into a1...
error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://bitbucket.org/me/a1/info/refs

fatal: HTTP request failed
[[email protected] ~]$ git config --global http.sslVerify false
[[email protected] ~]$ git clone https://bitbucket.org/me/a1
Cloning into a1...
Username:
Password:
fatal: Authentication failed

Cloning at home:

[[email protected] ~]$
[[email protected] ~]$ git clone https://bitbucket.org/me/a1
Cloning into 'a1'...
Username for https://bitbucket.org: me
Password for :https://[email protected]:
remote: Counting objects: ...
remote: Compressing objects...
remote: Total ...
Unpacking...
[[email protected] ~]$

Output of locale:

LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

相关内容