All Questions
126
questions
-2
votes
0
answers
49
views
SSH hanging with Raspberry Pi
I have a RaspberryPi Model 3A+, with the Raspbian OS installed. I am trying to SSH from my laptop, into my Pi over my LAN.
Initially I encountered no issues. I could ssh in fine, execute commands, etc....
0
votes
0
answers
175
views
SSH Error:Permission denied, please try again
Recently, I installed a new Ubuntu 22.04 LTS and found that it worked the first time I logged in, but then it didn't!
I did the following configurations, but the problem is not solved
sudo vi /etc/ssh/...
0
votes
0
answers
280
views
port 22: Connection refused, but only 60% of the time
I am running this:
ssh_command = f'ssh -vvv -o StrictHostKeyChecking=no -i {private_key_file} ubuntu@{public_ip}'
# Use os.system to execute the SSH command in a subshell
os.system(ssh_command)
...
0
votes
1
answer
550
views
send_pubkey_test: no mutual signature algorithm
Here is the client log output after a ssh -vvv user@machine (I think this problem is related with the deprecation of sha-1). I have already tried to create a new key/par for ed25519, but it doesn't ...
0
votes
0
answers
121
views
"ssh-copy-id user@ip_address" throws error
In UBUNTU system, I'm trying to set up remote login system. It is failing in ssh-copy-id step. It throws the following error:
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to ...
0
votes
1
answer
413
views
what is the use of setting up OpenSSH on Ubuntu Live Server 22.04?
Setup Info
I am using Hyper-V to spawn Ubuntu live 22.04 VMs. During the installation procedure it asks if I want to Install OpenSSH server, whether I select this option only results in one change. ...
0
votes
0
answers
2k
views
SSH Connection Timed Out Ubuntu 20.04
I've looked through a million threads on this topic but nothing has worked. I'm trying to ssh into my linux through port 22. Connection is refused.
UFW is inactive and firewall-cmd is not downloaded
...
0
votes
0
answers
45
views
Automatically disconnection on all port, including ssh and directadmin port
New to Ubuntu server for home, just start using it for a week and more.
The server is connectable by ssh and port 2222 (directadmin port) after the system startup (power on/reboot) but after the ...
3
votes
1
answer
354
views
Unable to ssh over WAN
System:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
Openssh version:
$ ssh -V
OpenSSH_8.2p1 Ubuntu-...
0
votes
1
answer
333
views
SSH Connection working on Terminal to Ubuntu-server but not showing on website on same machine
Looking at other questions I have gone through and tried various methods but the problem I am having is when I log into the ubuntu-server via terminal it works correctly, I am able to do all the ...
3
votes
3
answers
2k
views
How to access my computer's terminal in the university dorm from another computer?
I have used ssh to access remote computers/servers where they provided me a username, a password, and an IP address (like xxx:xxx:xx.xx). What I need to do is:
ssh [email protected]
and then it ...
0
votes
1
answer
565
views
Future Security Update to openssh-server on Ubuntu Server 20.04 LTS?
As per:
https://launchpad.net/ubuntu/focal/+source/openssh/+changelog
and
https://ubuntu.com/blog/what-is-an-ubuntu-lts-release
and
https://ubuntu.com/about/release-cycle
" For each Ubuntu LTS ...
0
votes
0
answers
106
views
Why I am not able to connect Ubuntu server with SSH key?
I have Ubuntu server 22.4 and I it had SSH server installed. Time to time SSH connection was doping even while I was working. I update the SSH by using command sudo apt-get update ssh. After the ...
0
votes
1
answer
183
views
Access to remote server via SSH via pem key requests 2 set of password (key and user)
On a remote server, I would like to access via ssh only with a pem key, which is password protected, but I'm being asked for the user account password as well
I created the account which I want to use ...
2
votes
1
answer
1k
views
Can't connect SSH on static IP address
I have a default Ubuntu Server 22.04 installation (haven't done anything on it yet).
SSH is working fine with default configuration on server's dynamic local IP.
I then set up a new netplan ...
1
vote
1
answer
4k
views
SSH service fails to start
I just created a virtual machine based on cloud images (of Lunar Lobster) on VMWare. Unfortunately it fails to start ssh. If I try to enable or restart the service I get:
And if I check journal it is ...
0
votes
1
answer
531
views
SSH with "Do not execute a remote command" hangs
I have Ubuntu 22.04 installed on a remote server. I can ssh to the server without any issues.
I often need to open a vnc tunnel with the following command:
ssh -L 5901:127.0.0.1:5901 -C -N -l username ...
0
votes
1
answer
498
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 ...
0
votes
0
answers
1k
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 ...
2
votes
1
answer
4k
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 ...
1
vote
1
answer
400
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 ...
1
vote
0
answers
116
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 ...
0
votes
1
answer
220
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 ...
2
votes
0
answers
508
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 ...
1
vote
1
answer
6k
views
Permission denied (publickey).?
when I'm trying to connect to server get this error
can you help me?
thanks!
ssh [email protected] -vvv
OpenSSH_8.8p1, OpenSSL 1.1.1l 24 Aug 2021
debug1: Reading configuration data /home/njfamirm/....
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 ...
0
votes
1
answer
1k
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 ...
1
vote
2
answers
1k
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 ...
4
votes
1
answer
27k
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 ...
1
vote
1
answer
1k
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, ...
6
votes
2
answers
12k
views
How to install ssh keychain on Ubuntu with WSL
Please help me understand how to install SSH keychain on my Ubuntu under WSL in order for me to be able to configure my .ssh/config to use it.
I'm taking some online training, and I've tried setting ...
-1
votes
1
answer
131
views
Cannot use ssh keys anymore to connect with different services or repositories
I set a bunch of keys that I use for various reasons like connecting to my personal website or various source control management platforms like GitHub or sourcehut. I was working as usually as ...
1
vote
1
answer
1k
views
How to ssh into a remote computer
I have two laptops, one running Ubuntu (server) and another running Debian (client), and I want to use ssh to log in to the shh server. While on my router's network, using the private IP address of ...
-1
votes
1
answer
327
views
How to Control the SSH Service
Ubuntu 20.04.
I have installed the openssh-server to test with ssh, but since then, whenever I boot up the system, the server starts running at port 22, which I feel is a security risk when I am ...
1
vote
1
answer
1k
views
OpenSSH showing different version from installed version on remote connection
On my server on digital ocean, I upgraded OpenSSH to version 8.6p1.
user@server:~# ssh -V
OpenSSH_8.6p1, OpenSSL 1.1.1 11 Sep 2018
But when I check the OpenSSH version from the remote client it is 7....
1
vote
3
answers
7k
views
ssh server service won't start on Ubuntu 18.04 after reboot
I've a VPS with Ubuntu 18.04Lts on Google Cloud.
On every reboot, I've to start the ssh daemon service either by service ssh(d) start or systemctl start ssh(d) (both ssh and sshd work the similar way ...
-1
votes
1
answer
4k
views
SSH using putty : Network error connection timeout
i am using Ubuntu server 20.04 lts i have configured static IP and can ping google.com and i can also ping server from another computer vice-versa. my ssh status is active and port 22 is listening but ...
0
votes
1
answer
994
views
cannot log into SSH server
Ubuntu server 20.04 installed and configured to listen to port 2222. From a windows10 machine on the same network I can ssh into the server without difficulty using:
ssh -p 2222 [email protected]....
0
votes
2
answers
4k
views
Cannot connect with SSH to my Ubuntu Server that is behind a router
I installed Ubuntu Server 20.04 on my old laptop. When it boots Ubuntu Server starts fine and I can login on it. I installed OpenSSH on it and it is active, running. I allowed port 22 on the ufw and ...
1
vote
0
answers
48
views
SSH failed while connect to PC without monotor
I am trying to use my PC as online server.
Everything works perfect when the monitor, keyboard and mouse is connected.
I can remote ssh to my PC after boot even without login to Ubuntu with my user/...
0
votes
1
answer
508
views
Connection refused, port 2222, mac to ubuntu (remote)
I can't login from my mac to my ubuntu machine. I tried many things, but nothing works. I am using ubuntu 20.04
Here is what I tried:
installed openssh-client openssh-server
changed port from 22 to ...
2
votes
1
answer
2k
views
Can login to sftp, but not to ssh shell
I was trying to setup a new sftp user for my server (Ubuntu 20.04). I created the user my-user, added a public key to his .ssh/authorized_keys file and decided to test an SSH login before anything.. ...
1
vote
1
answer
1k
views
Automate SSH client and server setup on every device
I don't think my needs are all that unique. I have a home network wired and wireless with multiple devices running Ubuntu 16.04.6 LTS. They will be upgraded to 20.04 soon though. My desire is to ...
0
votes
0
answers
5k
views
ssh_exchange_identification — read: Connection reset by peer
I was playing the "Overthewire Bandit" war game and when I try to login to level 20 I am getting the error
ssh_exchange_identification: read: Connection reset by peer
How can I resolve this ...
0
votes
0
answers
713
views
Building OpenSSH 8.2p1 on Ubuntu 18.04.4 LTS, what flags should I configure it with?
I need a newer version of OpenSSH on my home machine for remote work.
What flags should I pass to ./configure to maintain the same level of configuration as my current OpenSSH (7.6p1), the one ...
0
votes
0
answers
470
views
Some unnamed processes eat 100% CPU
My vps is running Ubuntu 16.04. Recently, I have found a lot of failed ssh connections in /var/log/auth.log.
I have enabled fail2ban and disabled password authentication. Now, there are some unnamed ...
1
vote
1
answer
945
views
SSH - Permission denied (publickey) with Password Authentication
I'm not able to log into my remote machine and get the Permission denied (publickey). even through I manually specify the options to use password authentication ssh -o PubkeyAuthentication=no -o ...
2
votes
1
answer
6k
views
can't log in with my password during ssh connection
my /etc/ssh/ssh_config is as follows
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can ...
6
votes
1
answer
7k
views
UFW OpenSSH application port change?
When using UFW I see there are "applications" like OpenSSH or Apache, to name a couple. If I were to change my SSH default port to something other than the 22, would the OpenSSH application rule map ...
14
votes
4
answers
48k
views
Is possible to upgrade openssh-server OpenSSH_7.6p1, to OpenSSH_8.0p1?
Tried to install OpenSSH_8.0p1 but installed OpenSSh Client only.
sudo apt install openssl-server Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable ...