質問

I've been logging in to this server through the terminal in coda 2, which has a spot to enter my password in the gui. Unfortunately, it keeps disconnection while sass is watching a file and I have to restart it. I was hoping to just ssh through the OSX terminal and keep it open separate from Coda. I can ssh without a password because it uses a key, but it only logs in to my home folder and I can't access the root(and it says I'm not in sudoers file). Somehow the password is being sent through coda and allowing me adequate access, but I'm not sure how it is sending the password.

How do I force SSH to ask for my password even though it's set to use the key?

役に立ちましたか?

解決

Just pass these options to OpenSSH:

ssh -o PreferredAuthentications=keyboard-interactive -o PubkeyAuthentication=no user@host
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top