Skip to content

Don't works without asking for password, even so it works when using just 'ssh' command #23

@gleisonsilva

Description

@gleisonsilva

I couldn't figure out how to connect to a remote host without typing the password. My SSH is already configured to connect that way, but with spire it doesn't works.


Using Spire:
~ spire -e '(ssh {:host-string "root@s0828" :identity "/Users/gleison/.ssh/id_rsa"} (get-fact))'
Enter Password for root@s0828:

(I've tried using :private-key also, but the behavior is the same. Already 'cat' the file to make sure it exists and have the expected content... and it doesn't have a passphrase)


Using SSH:

~ ssh root@s0828
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Mar 18 19:28:16 2020 from 25.32.92.157
root@ServerB:~#

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions