Forzare l'autenticazione via password con ssh: Difference between revisions

From RVM Wiki
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
 
(One intermediate revision by the same user not shown)
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>


==Riferiemnti==
È importante usare anche la prima opzione -F altrimenti le impostazioni del file ~/.ssh/config verranno considerate.
 
==Riferimenti==
*[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]

Latest revision as of 12:24, 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.

Riferimenti