Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
50 views

problem ssh to my ansible-controller

am having problem with connecting with my ubuntu using Mobaxterm. when putting my password it brings out this reply: [email protected]'s password: Access denied
benoosky's user avatar
0 votes
0 answers
1k views

Allow different users to connect to a ssh server (openSSH)

I'm new at this: I'm trying to set up a ssh server on my personal computer with openSSH. So far, I was able to connect to my server through my computer and also from a different computer in the same ...
John Baptist's user avatar
1 vote
1 answer
18k views

*Error Permission denied (publickey)* Does Windows 10 Powershell Support OpenSSH Public Keys with Ubuntu 20.04

Yes I know this a Ubuntu forum.. First off all thanks for doing what you do and helping people! Alright so I've been trying to setup SSH keys on my Ubuntu 20.04, read stuff about it online. So I ...
Mextro's user avatar
  • 51
5 votes
3 answers
11k views

Restrict SSH-login with public-key only to selected users

Using OpenSSH, I have enabled ssh-login to my Ubuntu 18.04 machine, call it Remote and my user account on Remote is called Remote-User. I have also made sure that login is only possible by means of ...
Orest Xherija's user avatar
0 votes
1 answer
6k views

SSH / SFTP Permission denied (publickey)

I've added the following to my sshd_config Match Group sftponly ChrootDirectory /srv/sftpfolder ForceCommand internal-sftp #AllowTcpForwarding no PermitTunnel no X11Forwarding no I created "user&...
Felix's user avatar
  • 21
0 votes
1 answer
1k views

Passwordless SSH [duplicate]

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 ...
Jagriti Dixit's user avatar
0 votes
1 answer
1k views

How to recover deleted .ssh/known_host entry?

I created a droplet (basically a server) to host a website on DigitalOcean. I connected to it using openssh on my computer, and it was working fine. Then I decided to delete the 3rd out of 3 entries ...
JTizzle's user avatar
1 vote
2 answers
792 views

Second ssh instance won't start after upgrade to Xenial Xerus - Permission denied

I've configured a second instance of my ssh-server. "ssh" will listen to port 22 but only allows private/public key login (via phabricator). "ssh2" will listen to port 266 with default sshd_config ...
schranktuer's user avatar
1 vote
0 answers
97 views

Issues with permissions when using ssh

I have been having some issues connecting via ssh between two computers. Let us call them Desktop and Laptop. Both are running Ubuntu 16.04 with a fresh install and with all updates applied. When ...
Juan Antonio's user avatar
  • 1,582
2 votes
1 answer
568 views

Unable to Install Openssh-Server on Ubuntu Server

I am trying to install OpenSSH-Server and receiving following error, Unpacking openssh-server (from .../openssh-server_1%3a5.9p1-5ubuntu1.7_amd64.deb) ... /var/lib/dpkg/tmp.ci/preinst: 17: exec: /usr/...
ajay_m's user avatar
  • 21
2 votes
2 answers
7k views

OpenSSH - Restrict users to one or multiple folders

I want to know how I can restrict user access using OpenSSH Server. Let's say I want user 1 to only access /Media, /Documents, and his home folder, User 2 should only access /Folder21, and his ...
FrankB's user avatar
  • 21