All Questions
28 questions
1
vote
1
answer
334
views
How can I share the SSH keyes between two users on a CentOs 7 machine?
I am not a sysadmin\network specialist (I am s software developer) and I am finding the following difficulty working on a Linux CentOS 7 remote machine of a customer.
I am using MobaxTerm to connect ...
0
votes
1
answer
762
views
centos 8 ssh remote server asking password despite PubkeyAuthentication yes
I am trying to connect remote host from client computer without password (with password works perfectly)
On client computer I did following but when I try to connect ssh, still asking password. anyone ...
3
votes
1
answer
624
views
How can I use different ssh keys for user1@host and user2@host, without resorting to aliased hostnames?
I have a remote CentOS server, lets pretend it's called hostname.com
hostname.com has several user accounts, and I want to ssh into this server as any one of these users (using ssh keys rather than ...
1
vote
1
answer
3k
views
Can't SSH into Google Cloud Compute instance using OS Login after `dnf upgrade`
I have a Google Cloud Platform Compute instance running CentOS 7. It has been working just fine, where I can use it with the web-based SSH interface without any problem. Recently, I switched to "OS ...
0
votes
1
answer
120
views
authselect vs ssh key in a tiny network
I am trying to setup a tiny LAN (2 - 3 Linux computers) with a wifi router and CentOS 8.
Does authselect provide any security benefit over ssh keys?
Thanks.
-1
votes
2
answers
4k
views
Access Denied to server linux SSH [closed]
I can't access the server using ssh user@IP with the right password i get access denied even though the sshd config is set correctly i restarted it reloaded nothing worked.
I generated an rsa key over ...
2
votes
1
answer
123
views
How to setup ssh for a couple of servers?
I'm pretty confused about how ssh really works, and I have already asked a couple of questions related to this, but I suspect I'm going in the XY-problem trap.
So, what I want is this. I want to be ...
-1
votes
3
answers
2k
views
Unable to SSH into Centos server unless root user
I have a digital ocean droplet that currently allows me to login directly via the root user via SSH as the relevant keys have been added to the authorized_keys file.
ssh root@master // this works ...
-1
votes
1
answer
13k
views
Generating SSH keys for multiple users?
Say, I have a server (CentOS 7) where currently I'm the only user, and have SSH key based authentication set up, it works perfectly. But what if I want to add more users (not many, say, 5 more) to the ...
2
votes
0
answers
16k
views
requirement "uid >= 1000" not met by user "root" in CentOS
I have a server with CentOS. Am trying to configure and connect to the server using a Public SSH-Key, I configured all: user, user folder, .ssh, etc.
Now, trying to connect I get this error in the ...
0
votes
2
answers
2k
views
Debug SSH not connecting
I am trying to connect to the remote server using ssh, but I have Permission denied (publickey)..
I've gone through all possible reasons I can suggest and other questions suggest.
I am sure that my ...
0
votes
1
answer
7k
views
Disconnected no supported authentication methods available
Yes, I'm aware questions like this already exist, and I've already checked quite a few out, but the methods were unable to help me. I am running CentOS 6 on my VPS. This error occurs when I try to log ...
0
votes
1
answer
85
views
Generating ssh Keys for different user Accounts for an application inside a single box
What would be the Procedure to generate ssh-keys for multiple user accounts (like root/admin/oracle accounts) assuming all the user accounts reside inside the same box.
How can the keys be ...
1
vote
1
answer
236
views
CentOS - Pubkey Auth doesn't work for user in /var
I've been working through a problem for the past week or so and I am running out of ideas.
I added a new user on my Centos 7 VPS for a git server, and (under the advice of several articles) placed ...
3
votes
2
answers
15k
views
Cannot ssh with shared keys on CentOS 7 server refused our key
I cannot ssh to a CentOS 7 server using pre-shared keys, I get a "server refused our key" message. Below is an ssh attempt using -vv
OpenSSH_7.2p2, OpenSSL 1.0.2h-fips 3 May 2016
debug1: Reading ...
2
votes
1
answer
5k
views
SSH with DSA 2048 bits key
I need to set up secure connection through ssh keys, prerequisites are :
DSA type
number of bits : 2048
Passphrase : yes
On my Linux I can't create this kind of key, the man says :
DSA keys must ...
4
votes
2
answers
24k
views
Add remote host to known_hosts file without prompt [duplicate]
I wrote some scripts and wish to add a remote host to my known_hosts file without any interaction. I can run a command like ssh -o "StrictHostKeyChecking no" [email protected] which will add the remote ...
4
votes
2
answers
3k
views
SSH authentication between my VPS and Bitbucket fail
I'm trying to setup SSH authentication between my VPS and Bitbucket for configure later automatic deployment via Capistrano (for web projects) and Capifony (for Symfony2 projects) so I follow this ...
0
votes
1
answer
10k
views
SSH "Server refused our key" for all users except root user [closed]
I followed this tutorial and key authentication worked great for root.
but when I created user xxx
and added different key in authorized_keys and tried to login using putty where error was shown " ...
2
votes
3
answers
573
views
Disabled root login for SSH in Centos 5.9, key login no longer working
I have a Centos 5.9 server which I have previously configured to access via SSH key login and this has been working fine for many months. I recently had to have an issue resolved remotely which ...
2
votes
0
answers
2k
views
Linux TACACS+ auth for SSH but allow users to use public key auth
we have running tacacs environment for centralised login to our routers, firewalls etc and even most of our linux boxes to ssh
what we would like to do is allow users to authenticate to SSH via ...
11
votes
2
answers
29k
views
Setup public key authorized SSH for non-root users
I was able to setup ssh login using public keys for root users and tried to apply the same logic for non-root users. I have tried to troubleshoot this issue in vain. I am using centos for both my ...
2
votes
2
answers
6k
views
How to ssh into ec2 instance running centos as a newly created user?
I am able to ssh into an ec2 instance as the root user using the private key .pem that was generated when I created the instance.
$ ssh -i Desktop/key.pem [email protected]
I ...
0
votes
2
answers
263
views
Is it "safe" to allow external access via SSH if authorized keys are required? [closed]
CentOS 6 | OpenSSH
I have an external facing server and would like the convenience of being able to access it via my phone. The system itself is an island and has no association/connection to my ...
9
votes
1
answer
3k
views
CentOS is ignoring my public key
I am trying to connect to my own CentOS server using SSH; I am able to connect fine with a password; I am trying to connect with my public key, but the server does not attempt public key ...
1
vote
3
answers
559
views
How to disable ssh keys and log-in using password
I'm having a tricky situation. First I set-up a ssh access through keys and I forgot password for "keys", and then I couldn't connect. I tried to login using another computer, and I thought I would ...
136
votes
4
answers
356k
views
how do you create an ssh key for another user?
I'm trying to create an ssh key for another user. I'm logged in as root. Can I just edit the files generated by ssh-keygen and change root to the user I want?
0
votes
4
answers
2k
views
ssh-keygen problem
I have configured the ssh-key using keygen for password less authenticaton as from the following link http://rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca/documents/internet/node31.html
nO matter what i do this ...