Passwordless SSH [duplicate]
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)
18.04 permissions root openssh
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.
add a comment |
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)
18.04 permissions root openssh
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 tossh
into? Can you usessh
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
Assumingssh
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
add a comment |
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)
18.04 permissions root openssh
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
18.04 permissions root openssh
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 tossh
into? Can you usessh
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
Assumingssh
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
add a comment |
1
It is not clear what you are asking. Do you have an account in the remote computer you want tossh
into? Can you usessh
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
Assumingssh
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
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
add a comment |
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.
add a comment |
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.
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.
answered Feb 20 at 20:42
Byte CommanderByte Commander
66k27180307
66k27180307
add a comment |
add a comment |
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 usessh
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