Passwordless SSH [duplicate]












0
















This question already has an answer here:




  • How can I set up password-less SSH login?

    10 answers




Can we set up Passwordless SSH in Ubuntu (18.04) without root privileges? Is there any way to access files in /etc directory without root permissions? (I need to be able to set up Passwordless SSH between non-root users from between a local and remote system, but I don't have the root privileges on either system)










share|improve this question















marked as duplicate by user68186, karel, N0rbert, Eric Carvalho, Charles Green Feb 23 at 1:11


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • 1





    It is not clear what you are asking. Do you have an account in the remote computer you want to ssh into? Can you use ssh with password? Please edit your question and add more information about your setup.

    – user68186
    Feb 20 at 20:45











  • I need to be able to set up Passwordless SSH between non-root users from between a local and remote system, but I don't have the root privileges on either system.

    – Jagriti Dixit
    Feb 20 at 21:19











  • Assuming ssh is "properly" setup by whoever has root privileges, You can setup password less login for yourself. This question How can I set up password less ssh login? has been already answered.

    – user68186
    Feb 21 at 18:12
















0
















This question already has an answer here:




  • How can I set up password-less SSH login?

    10 answers




Can we set up Passwordless SSH in Ubuntu (18.04) without root privileges? Is there any way to access files in /etc directory without root permissions? (I need to be able to set up Passwordless SSH between non-root users from between a local and remote system, but I don't have the root privileges on either system)










share|improve this question















marked as duplicate by user68186, karel, N0rbert, Eric Carvalho, Charles Green Feb 23 at 1:11


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • 1





    It is not clear what you are asking. Do you have an account in the remote computer you want to ssh into? Can you use ssh with password? Please edit your question and add more information about your setup.

    – user68186
    Feb 20 at 20:45











  • I need to be able to set up Passwordless SSH between non-root users from between a local and remote system, but I don't have the root privileges on either system.

    – Jagriti Dixit
    Feb 20 at 21:19











  • Assuming ssh is "properly" setup by whoever has root privileges, You can setup password less login for yourself. This question How can I set up password less ssh login? has been already answered.

    – user68186
    Feb 21 at 18:12














0












0








0









This question already has an answer here:




  • How can I set up password-less SSH login?

    10 answers




Can we set up Passwordless SSH in Ubuntu (18.04) without root privileges? Is there any way to access files in /etc directory without root permissions? (I need to be able to set up Passwordless SSH between non-root users from between a local and remote system, but I don't have the root privileges on either system)










share|improve this question

















This question already has an answer here:




  • How can I set up password-less SSH login?

    10 answers




Can we set up Passwordless SSH in Ubuntu (18.04) without root privileges? Is there any way to access files in /etc directory without root permissions? (I need to be able to set up Passwordless SSH between non-root users from between a local and remote system, but I don't have the root privileges on either system)





This question already has an answer here:




  • How can I set up password-less SSH login?

    10 answers








18.04 permissions root openssh






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 20 at 21:19







Jagriti Dixit

















asked Feb 20 at 20:37









Jagriti DixitJagriti Dixit

12




12




marked as duplicate by user68186, karel, N0rbert, Eric Carvalho, Charles Green Feb 23 at 1:11


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by user68186, karel, N0rbert, Eric Carvalho, Charles Green Feb 23 at 1:11


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 1





    It is not clear what you are asking. Do you have an account in the remote computer you want to ssh into? Can you use ssh with password? Please edit your question and add more information about your setup.

    – user68186
    Feb 20 at 20:45











  • I need to be able to set up Passwordless SSH between non-root users from between a local and remote system, but I don't have the root privileges on either system.

    – Jagriti Dixit
    Feb 20 at 21:19











  • Assuming ssh is "properly" setup by whoever has root privileges, You can setup password less login for yourself. This question How can I set up password less ssh login? has been already answered.

    – user68186
    Feb 21 at 18:12














  • 1





    It is not clear what you are asking. Do you have an account in the remote computer you want to ssh into? Can you use ssh with password? Please edit your question and add more information about your setup.

    – user68186
    Feb 20 at 20:45











  • I need to be able to set up Passwordless SSH between non-root users from between a local and remote system, but I don't have the root privileges on either system.

    – Jagriti Dixit
    Feb 20 at 21:19











  • Assuming ssh is "properly" setup by whoever has root privileges, You can setup password less login for yourself. This question How can I set up password less ssh login? has been already answered.

    – user68186
    Feb 21 at 18:12








1




1





It is not clear what you are asking. Do you have an account in the remote computer you want to ssh into? Can you use ssh with password? Please edit your question and add more information about your setup.

– user68186
Feb 20 at 20:45





It is not clear what you are asking. Do you have an account in the remote computer you want to ssh into? Can you use ssh with password? Please edit your question and add more information about your setup.

– user68186
Feb 20 at 20:45













I need to be able to set up Passwordless SSH between non-root users from between a local and remote system, but I don't have the root privileges on either system.

– Jagriti Dixit
Feb 20 at 21:19





I need to be able to set up Passwordless SSH between non-root users from between a local and remote system, but I don't have the root privileges on either system.

– Jagriti Dixit
Feb 20 at 21:19













Assuming ssh is "properly" setup by whoever has root privileges, You can setup password less login for yourself. This question How can I set up password less ssh login? has been already answered.

– user68186
Feb 21 at 18:12





Assuming ssh is "properly" setup by whoever has root privileges, You can setup password less login for yourself. This question How can I set up password less ssh login? has been already answered.

– user68186
Feb 21 at 18:12










1 Answer
1






active

oldest

votes


















2














If your ssh server already has the publickey authentication method enabled, all you need to do is to append your own public key to the .ssh/authorized_keys file in the home directory of your server user. No further administrative configuration required for that.



And configuration files in /etc are normally all owned by the root user and not writable by anyone else, you can not bypass that as regular user without sudo. Otherwise that would be a security threat.






share|improve this answer






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    If your ssh server already has the publickey authentication method enabled, all you need to do is to append your own public key to the .ssh/authorized_keys file in the home directory of your server user. No further administrative configuration required for that.



    And configuration files in /etc are normally all owned by the root user and not writable by anyone else, you can not bypass that as regular user without sudo. Otherwise that would be a security threat.






    share|improve this answer




























      2














      If your ssh server already has the publickey authentication method enabled, all you need to do is to append your own public key to the .ssh/authorized_keys file in the home directory of your server user. No further administrative configuration required for that.



      And configuration files in /etc are normally all owned by the root user and not writable by anyone else, you can not bypass that as regular user without sudo. Otherwise that would be a security threat.






      share|improve this answer


























        2












        2








        2







        If your ssh server already has the publickey authentication method enabled, all you need to do is to append your own public key to the .ssh/authorized_keys file in the home directory of your server user. No further administrative configuration required for that.



        And configuration files in /etc are normally all owned by the root user and not writable by anyone else, you can not bypass that as regular user without sudo. Otherwise that would be a security threat.






        share|improve this answer













        If your ssh server already has the publickey authentication method enabled, all you need to do is to append your own public key to the .ssh/authorized_keys file in the home directory of your server user. No further administrative configuration required for that.



        And configuration files in /etc are normally all owned by the root user and not writable by anyone else, you can not bypass that as regular user without sudo. Otherwise that would be a security threat.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 20 at 20:42









        Byte CommanderByte Commander

        66k27180307




        66k27180307















            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

             ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕