Quantcast
Channel: Active questions tagged ssh - Ask Ubuntu
Browsing all 529 articles
Browse latest View live
↧

What can I do if I purged apache2 and can't reinstall?

I am out of my depths. As a very new person to any sort of computing, I decided that I was going to create an home server using ubuntu server running 24.04. Got that up and running, installed ssh on...

View Article


Automate console-conf on Custom Ubuntu core

i'm building a custom image for a RPI. When i build a pre-designed build from the RPI imager on boot it asks me to press enter to configure and i get to insert my Ubuntu one mail adres. When building a...

View Article

Unable to disable password authentication over SSH

I configured login by SSH key which is working but I can still login by password, which I don't want.I used sudo nano /etc/ssh/sshd_config to make the following changes:PasswordAuthentication...

View Article

How to launch a new instance/session of Google Chrome from the command line?

Is there any way I can launch a new instance of Google Chrome from the command line? I'm not referring to opening a new window - I want a new instance. Here's why:Suppose I open Chrome and navigate to...

View Article

-bash: cd: HOME not set

Today when I logged into my server via SSH as I have been doing for the past 6 months,. However, I now receive this error message any time I run a command that makes reference to the $HOME environment...

View Article


ssh: connect to host stopped working and port 22: connection timed out

I can not access to remote computer using ssh username@host anymore, it worked before then it stopped and I always get:ssh: connect to host port 22: Connection timed outI checked firewall rules,...

View Article

Can't git clone git@github.com: Permission denied (publickey)

I upgraded my laptop from Jammy to Noble yesterday and was redoing my SSH keys for github. I created a new ssh key, added it with ssh-add, and follows all the steps on the github website.I am getting...

View Article

[DEPENDI Dependency failed for sssd-pam-pri... Service responder private socket

[DEPENDIDependency failed for sssd-pam-pri... Service responder private socket.[DEPENDIDependency failed for sssd-pam.soc... SSSD PAM Service responder socket.[DEPENDDependency failed for...

View Article


Image may be NSFW.
Clik here to view.

SSH service no longer automatically starts after Ubuntu server upgrade to...

I have a VPS running Ubuntu server 22.04 LTS which was recently upgraded from 20.04 LTS. Since the upgrade, the SSH service no longer automatically starts - it worked for 2+ years without any issue...

View Article


Error message on boot: Dependency failed for sssd-pam-pri... Service...

[DEPEND] Dependency failed for sssd-pam-pri... Service responder private socket.[DEPEND] Dependency failed for sssd-pam.soc... SSSD PAM Service responder socket.[DEPEND] Dependency failed for...

View Article

SSH / SFTP Permission denied (publickey)

I've added the following to my sshd_configMatch Group sftponlyChrootDirectory /srv/sftpfolderForceCommand internal-sftp#AllowTcpForwarding noPermitTunnel noX11Forwarding noI created "user" byuseradd -g...

View Article

Portforwarding Port 22 ( for ssh ) over JioFiber Router not working ( port 22...

I am using a JioFiber Router ( Firmware version : SRCMTF1_JCOW414_R2.52.1 ) . The host that I want to expose to the internet has Ubuntu Server 24.04.Private IPs : Router : 192.168.29.1My windows laptop...

View Article

After Ugrading Ubuntu 23.10 to 24.04, ssh-add is broken

This was working before the upgrade. Now I see the following error:$ ssh-add -lerror fetching identities: Invalid key lengthMy SSH version:ssh -VOpenSSH_9.6p1 Ubuntu-3ubuntu13, OpenSSL 3.0.13 30 Jan...

View Article


Commands in the same line with sshpass not recognized

I was running a script normally. But suddenly, all the commands in the same line with sshpass started being not recognized. For instance:sshpass -p "$password" rsync -a -e "ssh -o...

View Article

noble 24.04 ssh after DHCP reservation

When I installed 24.04 on my two machines (let's call them foo1 and foo2), Ubuntu settings has an ssh feature in settings|system|secure shell which would allow me to simply type ssh foo2 from foo1 to...

View Article


Ubuntu SSH X11 Forwarded Client Very Slow

Running SSH X forwarded session from my Ubuntu 12LTS client to a SLES server results in very slow(seconds per mouse click) GUI app(on the server) performance.Using a windows client from the same LAN...

View Article

gtk-WARNING **: cannot open display while running command-line-only script

I'm trying to run several compute intensive python scripts on a server (Ubuntu 14.04.5 LTS) via ssh -Y and tmux. This works fine as long as I don't close the ssh connection. If I do close the...

View Article


My laptop refuses ssh connections until I log in from the console

My laptop refuses ssh connections until I log in from the console After I walk over to the laptop and log in from the console then it will start accepting ssh connections

View Article

Fully fresh Ubuntu Install via terminal

I have access to the server via ssh. I have only a terminal for controlling the server. I want to clean up it, reinstall it only via terminal. How I can implement this? I want a clean server for future...

View Article

How to set password for Ubuntu >= 20.04 Cloud Image for serial console login?

I've successfully enabled SSH login on my "jammy-server-cloudimg-arm64.img" Ubuntu 22.04 image using a "cloud-init.img" with proper public RSA key set, however I cannot set a password for login on...

View Article
Browsing all 529 articles
Browse latest View live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>