Skip to content
Advertisement

Redirect the password prompt alert

Is it possible to redirect password prompt alert to a file or silence it?

[lnx51 ~]$ ssh root@192.168.1.1 root@192.168.1.1's password:

Advertisement

Answer

To avoid password authentication you can use next sentence:

JavaScript

This disable ‘manual’ authentication but you need another method to login, if not you will get an error like that:

JavaScript

Maybe you have some issue with your id_rsa

If you want to use with rsync (as your example) you must put command with quotes (“):

JavaScript

You can check rsync options at here

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement