SSH autologin __without__ using keys :(

I know this is unsafe.

My school has a system in which you can enable ssh, but it launches a strange operating system (maybe based on openVMS, which is indicated by error messages). They do not use keys, just a user / password, and then an internal application is launched that actually authenticates the user. I got the u / p password from your site from the configuration file, they do not care about security here.

I would just like to enter school_login as an alias and fully enable it for me, skipping the password type. I can do it? If I add my public key, I will still be asked to enter a password, right? Anyway, can I get around this?

Thanks!

+2
ssh ssh-keys
source share
2 answers

sshpass does this.

+4
source share

You might be able to use something using expect .

+1
source share

All Articles