Questions tagged [openssh]

OpenSSH (OpenBSD Secure Shell) is a set of computer programs providing encrypted communication sessions over a computer network using the SSH protocol.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 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: ansible-controller-Node@192.168.56.109's password: Access denied
user avatar
0 votes
0 answers
15 views

openSSH - ECDSA key fingerprint

Once in a while I get this question when I want to ssh to my linux. ECDSA key fingerprint is SHA256:................................... Are you sure you want to continue connecting (yes/no/[...
user avatar
0 votes
1 answer
33 views

Trying to install openssh-client openssh-server on WSL but going through snap error

sudo apt-get install openssh-client openssh-server Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are ...
user avatar
0 votes
0 answers
33 views

Can't connect to remote server with SSH

Ubuntu newbie here. Before this problem, i can connect to the server with ssh without problem So, i tried to add user to my server following this tutorial, but i screwed up on 3rd line of this part (...
user avatar
1 vote
0 answers
35 views

Automatically keep current sshd_config file when upgrading openssh-server

When upgrading openssh-server, the installation pops up a dialog menu asking the user what they want to do with the sshd_config file. I need to keep the current sshd_config file because it conforms ...
user avatar
0 votes
1 answer
18 views

ssh-server autocreate key directive

In centos there is a the directive AUTOCREATE_SERVER_KEYS=YES you can put in the /etc/sysconfig/sshd file to tell sshd to re-create its ssh server keys if the keys are missing. Is there any such way ...
user avatar
0 votes
0 answers
25 views

ssh using password and key [duplicate]

Ubuntu 22.04 with OpenSSH I was ssh to require key and password. I want keys for the usual reason. I also want password in case my laptop is lost or stolen. I don't mind the extra step to type the ...
user avatar
  • 1
0 votes
1 answer
35 views

Ubuntu ssh-ing Ubuntu on home network [duplicate]

I have a laptop (Ubuntu, wifi) and PC (Ubuntu, Ethernet) connected to my home router. I'd like to be able to ssh from laptop to PC to copy and run executables. I don't need a gui, just running htop ...
user avatar
0 votes
0 answers
79 views

SSH Timeout not happen and not disconnect

I am running ssh command from Ubuntu 18.04.3 LTS and mobaxterm v21.5 and i am trying to connect linux board which has kernel 4.9. i have configured in /etc/ssh/sshd_config as ClientAliveInterval 60 ...
user avatar
0 votes
0 answers
380 views

ssh: connect to host xx.xxx.xxx.xx port 22: Connection timed out

I am using ubuntu in my old pc and laptop. Whenever I connect to my note book from pc by using ssh and sftp it works. pc to notebook >> no problem Now I am trying to make my pc like a remote ...
user avatar
0 votes
0 answers
26 views

how to ssh into your vmware and make hardware acceleration possible

How to ssh into your VMWare workstation 16 player I want a step-by-step guide to it. Also how to enable hardware acceleration
user avatar
  • 11
0 votes
0 answers
63 views

SSH connection not working

I created an EC2 instance (ubuntu 20.04), after successfully creating this instance I SSH into it and ran some commands which were basically to install some open source tools as sudo user, but once I ...
user avatar
0 votes
0 answers
108 views

"Wrong password" error on ssh server remotely

I am running an SSH server on my local machine and I am able to perfectly login and modify files if I use something like myName@192.168.1.1 and type my password. However, when I try to login from ...
user avatar
0 votes
0 answers
63 views

After upgrade to Ubuntu 22.04, getting ssh Permission denied (publickey) error [duplicate]

Immediately following my upgrade to Ubuntu 22.04 from 21.10, I can no longer connect to Google Cloud Platform via ssh and am receiving the following error (e.g. after running git clone): john@doe.com@...
user avatar
0 votes
0 answers
46 views

How to start manually-installed OpenSSH, and run at boot

I've manually built an older version of OpenSSH with make + make install, for educational purposes. Is it possible to start it with sudo systemctl restart ssh, as when we install OpenSSH from apt-get? ...
user avatar
0 votes
1 answer
411 views

Install OpenSSH with older OpenSSL version

For educational purposes, on Ubuntu Server 18.04 I've downloaded OpenSSH_7.6p1 4-Ubuntu0.1 which should be exposed to SSH enumeration. When I run ./configure, it says there's a problem with the ...
user avatar
1 vote
1 answer
63 views

ssh -V shows OpenSSH_7.6, but openssh not installed

On Ubuntu Server 18.04, if I run: ssh -v it returns OpenSSH_7.6p1, without OpenSSL but sudo apt-get remove openssh-server openssh-client returns package 'openssh-client' is not installed, so not ...
user avatar
1 vote
0 answers
36 views

How to connect EC2 instance to Netbeans remote server?

I am trying to connect my AWS ec2 ubuntu instance to the Netbeans. While I am trying to connect with Netbeans Remote server then, It is showing the following error message. I have searched all the ...
user avatar
0 votes
1 answer
340 views

CLI needs sudo to be able to SSH

I have a strange error. I just installed Ubuntu 22.04 and copied over my SSH keys from the old installation (Ubuntu 20.04). Now suddenly I need sudo to be able to SSH to any machine - as long as it's ...
user avatar
0 votes
0 answers
16 views

is ssh-keygen is showing a barcode?

The key's randomart image is: +---[RSA 3072]----+ | o+B*.. . o+o | |o oo.+ . * ..+ | | o . . * * o o | | . + + = o . | | S =.+ . | | ..=.o | | o+B . | | ...
user avatar
0 votes
0 answers
10 views

How to get latest sudoers and sshd_config after Ubuntu update? [duplicate]

Just updated to Ubuntu 22.04 LTS. During the update it warned me that I modified the sudoers and the sshd_config files (which I did). For the sudoers file, no merge option was provided and for the ...
user avatar
  • 1
0 votes
0 answers
391 views

Logging in to Ubuntu 20.04 LTS server with SSH gives the following error

I've recently reorganised my SSH keys so that I don't have one single SSH key that would give access to all of my servers if it ever got compromised. This obviously means I need to upload the public ...
user avatar
  • 101
0 votes
1 answer
66 views

PuTTY connection error after NetworkManager changes

I am using Ubuntu server 20.04. I switched network settings, changed Netplan to NetworkManager. This is required for L2TP/IPsec vpn connection using NetworkManager. Further, after setting a static ip ...
user avatar
  • 11
0 votes
0 answers
386 views

Linking Zlib with source compilation

I have compiled Libz using these steps: wget -c --no-check-certificate https://zlib.net/zlib-1.2.12.tar.gz ./configure --prefix=/home/zlib1/ make make install Similarly I have compiled OpenSSL and ...
user avatar
0 votes
1 answer
33 views

SSH: Host doesn't check for clients private Key? [duplicate]

I just installed a fresh Ubuntu 20.04 and also openssh-server, but somehow it is possible to establish a ssh connection with password only. There are two user on this host machine. Both have an ...
user avatar
  • 115
0 votes
0 answers
84 views

OpenSSH isn't working on Ubuntu server minimal install

This isn't my first time experiencing this issue but every time on every distro I have ever used when installing OpenSSH it just doesn't work. Commands Run sudo apt-get install openssh-server sudo ...
user avatar
  • 31
0 votes
0 answers
147 views

SSHD: Fingerprint of public key not as expected

two machines are in the picture for my issue: Server: Running Ubuntu Server 20.04.3 LTS, running ssh server Client: Running Ubuntu Desktop 20.04.3 LTS, running ssh client I expect my generated ...
user avatar
1 vote
1 answer
4k views

Permission denied (publickey).?

when I'm trying to connect to server get this error can you help me? thanks! ssh root@srv.alimd.ir -vvv OpenSSH_8.8p1, OpenSSL 1.1.1l 24 Aug 2021 debug1: Reading configuration data /home/njfamirm/....
user avatar
2 votes
2 answers
174 views

Filtering content of command with grep

I am trying to filter out a the output of ssh-keyscan. The goal of this is to filter the output so I can use it in my python code to identify hosts connected to my VPN. Normally I would use grep to ...
user avatar
  • 173
0 votes
0 answers
385 views

accessing remote server by ssh ( but ssh port is filtered)

I have a few remote ubuntu servers which I don't have a physical access to them. I want to ssh , all of them are saying that the state is filtered on port 22. I have just their Ip address, by using ...
user avatar
  • 101
3 votes
1 answer
476 views

messed up sshd_config, so removed openssh-server, installed openssh-server, Not replacing deleted config file /etc/ssh/sshd_config

I messed up sshd_config and did not make a copy. So I removed openssh-server, then installed openssh-server. The installation complained with message. Not replacing deleted config file /etc/ssh/...
user avatar
  • 107
0 votes
0 answers
1k views

upgrade OpenSSH 8.2p1 => 8.5p1

I am trying to upgrade OpenSSH version to 8.5p1 on Ubuntu 20.04 LTS. When running these commands I get the following ssh -V OpenSSH_8.5p1, OpenSSL 1.1.1f 31 Mar 2020 dpkg -s openssh-client | grep '^...
user avatar
  • 1
1 vote
0 answers
275 views

I ge a "port 22: Connection refused" error on ssh?

I have ipv6 address, and I tried like ssh user@ipv6. I am getting a port 22: Connection refused error while connecting to a server. I have both the openssh client and server installed, and they are ...
user avatar
  • 13
0 votes
0 answers
297 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 ...
user avatar
0 votes
0 answers
269 views

OpenSSH using SSH and SFTP with ForceCommand

I have an ubuntu server using Openssh and currently the sshd_config file is configured with ForceCommand internal-sftp but this breaks ssh. I only need ssh for the ability to run java programs. Is ...
user avatar
-1 votes
1 answer
143 views

Ssh client working in windows but not in linux [closed]

I currently shifted to linux from windows but I can't connect to ssh when I use -vvv flag it shows connection timed out but in windows it just connects. I am coming from here askubuntu.com/questions/...
user avatar
0 votes
0 answers
31 views

How do I get/review each record in my known hosts

I recently have had "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED", I started digging to double check whats happening. I wanted to review all entries which I have as I just think it might ...
user avatar
0 votes
1 answer
510 views

Connecting to sever through ssh

I tried to connect to my sever through the ssh using ubuntu but it does not work. sudo apt-get install openssh-server openssh-client [sudo] password for user: Reading package lists... Done Building ...
user avatar
  • 1
0 votes
0 answers
133 views

How to prevent ssh client to access/view a specific folder

Using the SSH opened port, it was possible to verify the folders and the files present, under the directory /usr/share/SecretFolder They are exposed without authentication. My question it's possible ...
user avatar
  • 53
1 vote
2 answers
218 views

How can I allow access to SSH only at a specific time?

Based on Ubuntu 18.04, I want to allow users to access only from 9 a.m. to 5 p.m.(working time) on the SSH server. (used OpenSSH-server package) I've looked up all the materials I think will help you ...
user avatar
2 votes
2 answers
901 views

Using a PuTTY private key from windows to linux

I've generated two keys on PuTTY: public and private. Using this software on windows I can connect to the server as usual. Then I tried to copy those files in my ubuntu machine (21.04), and logged in ...
user avatar
0 votes
1 answer
3k views

Can't generate SSH ed25519-sk key

I'm trying to generate an ed25519-sk SSH key in Ubuntu 20.04.03 LTS. However, I get a 255 error code when I try. I'm using OpenSSH version: OpenSSH_8.2p1 Ubuntu-4ubuntu0.3, OpenSSL 1.1.1f 31 Mar 2020....
user avatar
1 vote
1 answer
888 views

How retrieve or recreate a delete file from the /etc/ssh directory

In the /etc/ssh directory exists the following content: moduli sshd_config ssh_host_ecdsa_key ssh_host_ed25519_key ssh_host_rsa_key ssh_import_id ssh_config sshd_config....
user avatar
0 votes
1 answer
559 views

If I do not install openssh when creating an ubuntu server, can someone still SSH into the server?

Ubuntu server gives me the option to install openssh. If I reject this, is there anything more I must do in order to completely disable SSH from my server?
user avatar
0 votes
1 answer
145 views

Why am I not getting prompt for passphrase on other computer in ssh? Only getting password prompt without passphrase

root@Harshit:~# ssh root@my-ip root@my-ip's password:
user avatar
2 votes
1 answer
4k views

How to access home ssh server from outside via the Internet?

I am running ubuntu server 20.04 and out of the blue I am getting operation timeout. I was wondering how can I troubleshoot the issue. I am using ufw and the connection port is open. so when I use ...
user avatar
  • 73
0 votes
0 answers
448 views

systemd not starting ssh server

attempting to start ssh returns Failed to start ssh.service: Unit ssh.service not found. trying to install it retuns E: Package 'openssh-server' has no installation candidate. ubuntu 20.04 LTS
user avatar
0 votes
1 answer
234 views

Why am I able to SSH a remote machine even with the wrong keys?

Description: I have created a ssh connection between my Windows Pc and Raspberry Pi. To so I followed the following steps: Step 1: Somehow get the IP address of the Raspberry Pi. It should be ...
user avatar
1 vote
1 answer
456 views

How can I install openssh-server without openssh-client on Ubuntu Server 20.04

I'm trying to install openssh-server on a Ubuntu server 20.04. When I try to install it with the following command: sudo apt-get install openssh-server the process wants to install openssh-client, ...
user avatar
  • 111
2 votes
0 answers
2k views

How to upgrade ssh version from 8.2 to 8.6 in ubuntu machine

I have tried to install ssh version 8.6 with ref link https://blog.jonkimi.com/2020/04/17/Upgrade-openssh-server-on-Ubuntu/. After installation when I run command "ssh -V" it shows latest ...
user avatar

1
2 3 4 5
10