Francesco Pietra <chiendar...@gmail.com> writes: > ssh target_machine_name date > > gives the date without asking a password. The mere sending id_rsa.pub > to create the authorized_keys file only works (without asking the > password) for command: > > ssh target_machine_name
In the case of the first command, are you running it interactively or non-interactively from, say, cron or a batch job system? If the latter is the case, you either must use passphrase-less SSH keys (insecure) or load an ssh-agent once interactively and cause all subsequent, non-interactive access to find and use that loaded agent. The keychain package might help here. OTOH, if you are indeed running the remote "date" command interactively then I have no clue.... Luck, -Brett. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org