Forzare l'autenticazione via password con ssh: Difference between revisions
Jump to navigation
Jump to search
m New page: Per collegarsi in ssh NON usando la chiave privata anche se presente o cachata dall'agent: ssh -o PubkeyAuthentication=no hostname ==Riferiemnti== *[http://www.derkeiler.com/Newsgroups/... |
mNo edit summary |
||
| Line 1: | Line 1: | ||
Per collegarsi in ssh NON usando la chiave privata anche se presente o cachata dall'agent: | Per collegarsi in ssh NON usando la chiave privata anche se presente o cachata dall'agent: | ||
ssh -o PubkeyAuthentication=no hostname | <pre> | ||
ssh \ | |||
-F /dev/null \ | |||
-o PubkeyAuthentication=no \ | |||
-o ControlMaster=no \ | |||
-o UserKnownHostsFile=/dev/null \ | |||
-o StrictHostKeyChecking=no \ | |||
hostname | |||
</pre> | |||
È importante usare anche la prima opzione -F altrimenti le impostazioni del file ~/.ssh/config verranno considerate. | |||
==Riferiemnti== | ==Riferiemnti== | ||
*[http://www.derkeiler.com/Newsgroups/comp.security.ssh/2004-06/0187.html comp.security.ssh: Re: OpenSSH: force password authentication] | *[http://www.derkeiler.com/Newsgroups/comp.security.ssh/2004-06/0187.html comp.security.ssh: Re: OpenSSH: force password authentication] | ||
*[http://unix.stackexchange.com/questions/110283/how-can-i-make-ssh-ignore-ssh-config How can I make ssh ignore .ssh/config? - Unix & Linux Stack Exchange] | |||
Revision as of 12:12, 12 June 2014
Per collegarsi in ssh NON usando la chiave privata anche se presente o cachata dall'agent:
ssh \
-F /dev/null \
-o PubkeyAuthentication=no \
-o ControlMaster=no \
-o UserKnownHostsFile=/dev/null \
-o StrictHostKeyChecking=no \
hostname
È importante usare anche la prima opzione -F altrimenti le impostazioni del file ~/.ssh/config verranno considerate.