All Questions
22
questions
0
votes
0
answers
64
views
SSH CA-signed key does not work from certain hosts
I've tried to setup CA signed ssh user keys.
I got my configuration working on most clients, there seems to be problem on a few specific ones.
The key verification fails and they are prompted for ...
0
votes
1
answer
2k
views
SSH Permission denied (public key)
I am trying to create my own SSH key to connect from one VM A to another VM B (both are Debian/bullseye64 systems).
Both VMs are configured to be on a public network using vagrant on my system with A ...
0
votes
1
answer
2k
views
SSH permission denied
I have problem logging using ssh to company server.
I have my local ~/.ssh/config;
Host target
HostName xx.yy.zzz.aaa
User abcd
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly=yes
I have other ...
1
vote
1
answer
385
views
ssh-keygen: signing syntax - help needed with options
I am trying to sign some SSH keys with restricted options.
My initial attempt was as follows:
ssh-keygen -s /path/to/ca-ssh.pem -D opensc-pkcs11.so -n barfoo -O no-agent-forwarding -O no-port-...
1
vote
0
answers
2k
views
Unable to ssh with public / private key pair
I'm unable to connect (ssh) to one of my servers with pubkey. It was working last week, and I have no idea where to search right now.
I have a script which should fetch files with scp to use them ...
0
votes
0
answers
30
views
How to download SSH keys in Debian on GCP? [duplicate]
I'm trying to download my SSH keys so that I can use Filezilla to connect to my webserver. This SHOULD be pretty straightforward - but everything I've tried has failed.
I currently have access to 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
0
answers
3k
views
OS X ssh to linux - permission denied (publickey)
Something strange with OS X SSH client while connecting to some Linux boxes.
Now I'm trying to connect from my mac to remote Debian running in qemu behind the router. Unsuccessfully :(
But if I'll try ...
1
vote
1
answer
71
views
Google Cloud Platform: ssh from VM_1 in project_A to VM_2 in project_B
I am trying to connect virtual machine VM_1 in project_A to virtual machine VM_2 in project_B. Bot are on Debian Linux.
Steps I did:
On VM_1 Project_A
Generated private and public keys
ssh-keygen -...
0
votes
1
answer
48
views
SSH: Login to local pc by key
I got a little problem.
I'm using apt-dater to keep different linux-systems updated.
Apt-dater uses ssh to login to these systems - there's no problem by doing this.
To connect to localhost, the ...
1
vote
0
answers
225
views
why does having ~/.ssh/id_rsa.pub cause GUI dialog asking for SSH password even though SSH_ASKPASS is empty?
How the problem started
For some reason I did not have my id_rsa.pub file in ~/.ssh. So I copied it off one of my servers to ~/.ssh/ on my machine... so that I have it, so I can copy it to servers ...
0
votes
1
answer
878
views
GitLab push not possible and always results in asking for git-user password [closed]
I have a problem with GitLab. Everything is fine, but I can't push. It is asking me all the time the password of the user git.
Is it a problem, that I first installed the Omnibus package and then ...
38
votes
7
answers
96k
views
Unable to ssh to GCE: "Permission denied (publickey)"
I created a VM via Bitnami in Google Compute Engine. Previously, I was able to ssh via the Bitnami web interface. I tried to ssh via terminal on my Mac but kept getting the Permission denied (...
0
votes
2
answers
4k
views
bash script to create user then create ssh keys
Please note I am a total linux newbie, please bare that in mind when answering this question as I have very limited knowledge of linux.
OS: Debian Squeeze
I am using ZSH and have created a function ...
2
votes
1
answer
7k
views
ssh server: could not load host key
I'm configuring ssh server, but have faced an issue.
First I generate the private/public rsa keys with:
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
and set password on prompt.
Then try to start ...
65
votes
8
answers
142k
views
How to change a SSH host key?
I cloned a server and so they've the same RSA key fingerprint.
It seems to be defined in /etc/ssh/ssh_host_rsa_key.pub.
What is the correct way to change that?
Thanks.
11
votes
2
answers
873
views
What to do when someone logged as root on my server
I have a server running Debian 6.0 with logcheck installed.
Yesterday ago, I received this message:
Jan 19 19:15:10 hostname sshd[28397]: Authentication tried for root with correct key but not from a ...
3
votes
1
answer
136
views
Security issue with ssh on Debian server
I have setup Debian Squeeze on an old laptop to serve as a testbed. I have installed OpenSSH and edited /etc/ssh/sshd_config to use ssh keys and disallow password authentication.
I am able, however, ...
9
votes
2
answers
9k
views
SSH from PuTTy to Debian "authorized_keys is not a regular file" Error
I cannot connect from my Windows 7 computer using PuTTy to a newly configured Debian Squeeze server using SSH RSA key authentication.
I get this error when running SSH in debug mode:
User myuser ...
0
votes
1
answer
959
views
Tool for managing ssh keys in a server cluster
I have couple of Debian servers and currently I am struggling around with adding manually ssh keys to the server's authorized_keys files. Do you know an application which can do this in a nice semi-...
5
votes
5
answers
19k
views
How do I configure sshd on Debian to use Public Key Authentication?
I'm working on a (Debian) Dreamhost VPS, and it seems to want password-based authentication only: adding my RSA and DSA public keys to ~/.ssh/authorized_keys did not change the behavior of requiring a ...
3
votes
1
answer
2k
views
how to automatically mount ~/Private using ecryptfs when logging in via ssh pubkey
Raionale: I want to be able to automatically make backups to a remote machine, which will be encrypted with ecryptfs.
The title says it all:
I set up ecryptfs-utils on my Debian Squeeze box, and set ...