Link to home
Start Free TrialLog in
Avatar of hotrod_952
hotrod_952

asked on

Unable to logon into Checkpoint SecurePlatform through ssh (putty)

I am no longer able to logon to Checkpoint SecurePlatform through ssh (putty).  Whenever I try, "invalid password" message appears.  I can successfully logon through https and locally using the same logon credentials.  The last change I made prior to this occurring was editing the /etc/passwd to change the admin:x:0:0::/home/admin:/bin/cpshell > bash.  This allows you to logon with the expert mode.   Any suggestions on how I maybe to fix this?
Avatar of grimkin
grimkin
Flag of United Kingdom of Great Britain and Northern Ireland image

Are you using putty or a terminal program or are you ssh'ing from a linux command line?

If using the command line, try:

ssh <ip> -l admin    

Editing the passwd file as you have stated above should not have caused any issues - is there anything in /var/log/messages pertaining to the failed login?

For future reference, an easier way to change the shell is:

chsh -s /bin/bash admin
Avatar of hotrod_952
hotrod_952

ASKER

I'm using putty.  I can logon locally and https, but not with putty.  It doesn't like the password.
ASKER CERTIFIED SOLUTION
Avatar of grimkin
grimkin
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I can't verify that because the FW is located remotely.  I will need to have the IT support person check it.
I fix it.   I checked the log messages and indicated that authentication was falling.  I changed the it back to cpshell then back to shell.  SSH is working successfully again.
Thanks