Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
30 views

SSH from A through B to C, using private key on B

Schematic: ssh ssh A ------> B ------> C ^ ^ using A's using B's ssh key ssh key Preconditions: A is running ssh-agent A can access B B can access C A can't ...
J.Nexus's user avatar
  • 11
1 vote
0 answers
84 views

Incorrect permission of copied files from Ubuntu to Windows using rsync on ssh

After copying files from Ubuntu to Windows using rsync on ssh, the copied files and folder have permissions that only creator have full access and other users including SYSTEM and Administrators have ...
VladE's user avatar
  • 11
0 votes
0 answers
15 views

How can I make an internal server access the public web behind a jump host

Say that I have a server A:1.2.3.4:1234, which is an totally internal server cannot reach out any public services, such as apt, pip. And I cannot log in A directly. I have to use a jump host B:1.1.1.1:...
Whisht's user avatar
  • 131
0 votes
1 answer
29 views

SSH timeout over WAN

I have an openssh server set up on my homelab that I want to be able to connect to remotely. I have forwarded the port and tried to connect to it on LAN using the public ip of my homelab. However I ...
Bluesheep33's user avatar
-1 votes
1 answer
32 views

Execute windows exe files on wsl after metadata,umask=022, fmask=111

WSL can't run any exe files after I added options = "metadata,umask=022,fmask=111" to wsl config. The reason I did this is so I can share ssh keys from a parent windows machine. So I would ...
user1016976's user avatar
0 votes
1 answer
70 views

Ubuntu SFTP Server Permissions

I'm trying to create a SFTP server using Ubuntu Server 24.04 LTS, and I'm having trouble copying to the folder I created: The sshd_config sets ChRootDirectory to \sftpsrv, which is a mounted disk ...
SIMOES's user avatar
  • 9
0 votes
0 answers
34 views

Cant ping or ssh ubuntu server locally, server can ping websites

Installed ubuntu server and openssh on old laptop installation went well. Settings good, all firewalls down, ssh active BUT still no machine can ping server n server can ping machines. Tried pinging ...
Kuziwakwashe Chikwete Swagger's user avatar
0 votes
1 answer
100 views

After successful SSH connections can not type anything

I am using Ubuntu and after my successful login in my SSH I can not type anything. When I reboot my computer and open a Terminal, I run the command ssh root@****. I receive a password prompt where I ...
Pcelarnik Danevi's user avatar
0 votes
0 answers
98 views

How to be able to access all folders on Ubuntu when using Visual Studio Code Remote?

I have my user which seem to be in the sudo group: myuser@server:~$ groups myuser myuser : myuser adm cdrom sudo dip plugdev But when I use Visual Studio remote with SSH, it doesn't give me the ...
Stackerito's user avatar
0 votes
0 answers
22 views

Find source of bandwidth cap

Good day! There is a group of Ubuntu 22.04 LTS workstations at work that me and my coworker use to run different kinds of jobs. Both me and another coworker are sudoers on the machines, and we are ...
arthuro555's user avatar
1 vote
1 answer
58 views

why is ssh-key only used on one system

I had to copy manually my ssh key from a windows system to a headless ubuntu server using scp (because ssh-copy-id isn't a basic command on windows), and I've desactivated password authentication. ...
Danywigle's user avatar
0 votes
2 answers
114 views

Configure new user for AWS EC2 with SSH

I have created an EC2 instance. It has internet connectivity and I can ssh into ubuntu@ip using the 'test_kp.pem'. I have created a new user.. useradd test-user and created a new keypair test-user-...
Hector Harris's user avatar
0 votes
0 answers
118 views

SSH Connection - Permission denied on MacBook

I am having problems with my newly setup Ubuntu 22.04 LTS server. My goal is to access the server via SSH from my laptop. But I cannot connect and get an "Permission denied" error after ...
SJF's user avatar
  • 1
0 votes
2 answers
76 views

Unable to connect to a raspberry pi4 using SSH via Mac

So I just set up a fresh install of Ubuntu Desktop 23.10. I used the OS Customisation options in the Raspberry pi Imager program. There I set SSH to enabled. I then mounted the SD card after it got ...
curies's user avatar
  • 1
0 votes
1 answer
131 views

Unable to submit the files by Rsync from the Windows terminal to Ubuntu VPS (code 12 error) while normal SSH authentication works fine

Although the Rsync is available for Windows, there are some problems with SSH. Here is the first one: the files are simply could not be submitted because of unclear error "error in rsync protocol ...
Tokugawa Takeshi YD's user avatar
0 votes
0 answers
56 views

How do I use Localxpose to SSH into a Raspberry Pi?

I want to SSH into my Raspberry Pi 4 when I'm away from home. I already have a Localxpose account, so I figured I would use that. I know I have my keys configured properly, since I can successfully ...
Octa's user avatar
  • 1
-1 votes
1 answer
63 views

Unable to connect to ubuntu 20.04 on vm from windows

I could not manage to make ssh connection working. ssh [email protected] time out… Port forwarding: Host ip. Host port gast ip. G-port 0.0.0.0. 2222. 10.0.2.10. 22 Tried with host(...
Davit Shavliashvili's user avatar
0 votes
0 answers
147 views

Linux oathtool-generated TOTP 6-digit code invalid for 2FA SSH login using pam_oath.so

I'm trying to set up TOTP 2FA login into an SSH session on my Ubuntu box. To this end I have in /etc/users.oath: HOTP/T30/6 testuser – 8436e373cbdabce46a5d8d019c463a (I'm generating this value over ...
Stefan's user avatar
  • 101
1 vote
1 answer
377 views

Why do I need to re-add ssh keys on Ubuntu?

I have a Digital Ocean droplet running Ubuntu. I've created a non-root user (not sure if that plays into the issue or not). I can ssh into the droplet with my local identity, and on the server I have ...
kontur's user avatar
  • 540
0 votes
0 answers
55 views

SSH refuses to work no matter how much work

I am running on a Windows laptop to a Ubuntu MacBook Pro that's running Ubuntu Sever on VirtualBox. I'm running it over VM because the connection at my house is dynamic and Wi-Fi only, and I cannot ...
SensorMyth's user avatar
1 vote
0 answers
186 views

Configure SSH to immediately deny all authentication but still listen

I'm trying to configure an SSH server to only allow access for a specific user from a specific IP address. I've configured that with PubkeyAuthentication no PasswordAuthentication no ...
wastelandcourierperson's user avatar
1 vote
0 answers
140 views

On Ubuntu Desktop ssh does not read first line of authorized_keys

Seems nobody has run into this based on my searches so posting this here. Installed Ubuntu Desktop 22.04 on Hyper-V behind NAT on Windows 11 Pro. Desktop version has no ssh preinstalled, so installed ...
Megakoresh's user avatar
0 votes
0 answers
165 views

How to diagnose SSH login issues and general slowdowns on an Ubuntu server?

I'll preface that I get this is a really vague title, I'm just not sure where to even begin debugging. I have an Ubuntu server running in my house and every while (say couple weeks?) I no longer am ...
ROODAY's user avatar
  • 233
1 vote
1 answer
712 views

Is it possible to install Linux OS on a computer with SSH with no monitor?

I have an old computer I want to use as a Minecraft server. It has no working display ports and has Windows 10 installed on it. The computer is an HP Pavilion m9047c and I want to install Ubuntu ...
Evan Reineck's user avatar
0 votes
1 answer
201 views

How many environment variables can be passed through openssh SendEnv/AcceptEnv

I have added SendEnv whatever_* in ~/.ssh/config on the local host and AcceptEnv LANG LC_* whatever_* in /etc/ssh/sshd_config on the remote host. Now, I'm trying to run some stuff on the remote ...
Bogdan Prădatu's user avatar
1 vote
1 answer
218 views

Vagrant cant provision vm with debian/bookworm64 ssh authentification failed

I am trying to start up a VM with this box "debian/bookworm64" but it timeouts during the ssh authentification. I've used the same Vagrantfile with ubuntu/focal64 and there it just works. I ...
starryn1ght's user avatar
0 votes
0 answers
71 views

Virtualbox Port-Forwarding Does nothing when SSH connection is attempted

I recently created an Ubuntu 22.04 VM with virtualbox. Its network setup consists of a Host-Only Network & and a NAT. I recently set it up to allow ssh connections on the private network through ...
Cyberslash's user avatar
0 votes
0 answers
21 views

SSH to Server from A YES, from B, NO

SO I have a ubuntu server hosted elsewhere - it is 1 day old and a clean install of ubuntu the firewall is inactive. No failban etc. I can ssh into it from laptop B - easy. However laptop A .... I ...
Turtlestack's user avatar
4 votes
3 answers
21k views

How to expand ubuntu server root storage?

I have a windows server inside of which there's an Ubuntu 22.10 server, more space was given to VM of Ubuntu. But inside of Ubuntu, when I connect through SSH, it shows that it's still the same size. ...
Arzybek's user avatar
  • 233
0 votes
1 answer
62 views

Configure passwordless SSH between OCI VM hosts

I have 2 Ubuntu VMs hosted on OCI and one local Ubuntu VM which I want to configure to connect using passwordless SSH. I downloaded public and private SSH keys and I created .ppk file to connect using ...
Peter Penzov's user avatar
0 votes
1 answer
872 views

Setting a custom keyboard layout in Wayland does not apply when SSH-ing

I recently upgraded my Ubuntu system from 20.04 (Xorg) to 22.04, and switched to Wayland. This upgrade created several unexpected challenges for my environment, particularly in terms of configuration. ...
Nikola-Milovic's user avatar
0 votes
1 answer
147 views

Blocked server, SSH: How to revert the situation

I tried to use SFTP using sudo to make changes in a file, following instruction: Adding this line was a fix for me and comment the existing subsystem line: /etc/ssh/sshd_config: Subsystem sftp sudo -...
Michal Zielarz's user avatar
0 votes
0 answers
773 views

Connecting to Ubuntu using ssh over Ethernet

I have given static IP 192.168.137.20 with net mask 255.255.255.0 to my windows laptop port: Then I connected my rasberry pi (which runs Ubuntu 20.04) using USB and ran following command to also give ...
RajS's user avatar
  • 251
2 votes
0 answers
296 views

is there any way to limit users' traffic usage in SSH

can we limit users' traffic usage in ssh?(For example User1 can only download/upload 1GB) i know ssh doesn't have this feature by default. Is there any trick to do this? Thanks for your help my os is ...
shayan's user avatar
  • 21
0 votes
0 answers
49 views

Windows 10 SSH client: password-less access from ubuntu

I have two machines. first is ubuntu and second is a windows client. I want to connect to windows form my ubuntu. I create a ssh-key from my windows without password. I copy windows public key to ~/....
user254039's user avatar
1 vote
1 answer
346 views

ssh access denied via ipv4 but normal access via ipv6

I'm running Ubuntu 19 or 20 (both scenarios same) I can ping and ssh over ipv4 to my server. When i ssh it over ip4 it even asks for the username and password but denies access and shows "access ...
Pradyut Bhattacharya's user avatar
0 votes
1 answer
1k views

Unable to connect to server as root via ssh

I want to use remote explorer in VS Code on Windows to access a server from Ubuntu. Entering a password all the time is annoying, so I tried generating an ssh key using ssh-keygen. The key works fine ...
Andrew's user avatar
  • 3
0 votes
1 answer
87 views

How to get log info to STOP going to console in Ubuntu 22

I have no idea what is causing this but I just did an update and upgrade and now I'm getting all kinds of info going to the terminal. Here are some simple examples from sudo invocation, an anacron, ...
drjrm3's user avatar
  • 1,506
0 votes
0 answers
477 views

ssh to localhost with public key: does not come to an end

I'm on xubuntu 22.04, I'm trying to ssh to localhost: $ ssh -vvv localhost OpenSSH_8.9p1 Ubuntu-3ubuntu0.1, OpenSSL 3.0.2 15 Mar 2022 debug1: Reading configuration data /home/paolo/.ssh/config debug1: ...
Paolo Benvenuto's user avatar
1 vote
0 answers
4k views

Display not specified when trying to open Firefox on a home server

I am a new linux user, and I am currently running ubuntu on my desktop. I installed fedora server on an old laptop of mine. I thought it would be a good project to be able to open firefox on the ...
Bill's user avatar
  • 11
0 votes
3 answers
2k views

Forward x11 works but not into Xypher "Can't open display: localhost:11.0"

On the local network, I have a remote (headless) ubuntu server. I'd like to access the desktop on that machine, but I really don't want to install vnc, etc... I already have lxde so why can't I ...
James Newton's user avatar
0 votes
0 answers
131 views

Unable to SSH with newly created user - deployer@IP_ADRS: Permission denied (publickey,gssapi-with-mic)

I've tried various solutions out there, but I still have a problem to SSH into my server with newly created username. To SSH into server, usually I've used userAdmin@IP_ADRS, it worked without having ...
aspirinemaga's user avatar
1 vote
0 answers
263 views

How do I connect netopeer2 to sample localhost on Ubuntu 20.04?

OS: Ubuntu 20.04 All components of netopeer2 is intalled by following this website. I don't know how to configure netopeer2 server username or password. I install all the components and try the ...
Alecanty's user avatar
12 votes
1 answer
2k views

How to modify this code to be able to SSH into my server?

I have a 18.04 Ubuntu server that I use to bypass internet filtering/censorship in my country using SSH tunneling. To do this, I have created several users using the command adduser USERNAME --shell=/...
Vahid Damanafshan's user avatar
0 votes
2 answers
1k views

Unable to SSH on my ubuntu server with a user different from root

When I try to ssh to my Ubuntu Server as a user different from root the connection never works and the session is never established. However connecting from other computers works perfectly, so it must ...
Ale TheFe's user avatar
  • 111
0 votes
1 answer
952 views

Why does SFTP prompt for a password when trying to connect to azure storage that should only accept RSA keys?

When I try to make an SFTP connection to an azure storage account using RSA keys azure still prompts me for a password. This problem occurs only on my laptop which is running Ubuntu 22.04.02 LTS on ...
Jonas's user avatar
  • 101
0 votes
0 answers
368 views

SSH refusing connections for a couple minutes after boot

I have a home server I use hobby projects and I frequently use SSH on the machine, however after it (re)boots, any SSH connection attempt is refused for around a couple minutes before I can login ...
Jezza's user avatar
  • 1
1 vote
1 answer
515 views

Ubuntu Nautilus sftp to server that has 2fa on is not working

I can ssh to a server that has 2FA, but I can't access it through Ubuntu (20.04) nautilus sftp. sftp://hostname.com or sftp://[email protected] results in time out, adding port 22 does not help. All I ...
user43280's user avatar
2 votes
1 answer
661 views

Can't use SSH with any port except 22

I've been trying to change the port used by sshd on my Ubuntu 22.04 VPS (which I think I've succeeded in doing) but can't connect from my home PC if it is set to anything except port 22. I am using ...
jofre's user avatar
  • 31
1 vote
1 answer
200 views

Cannot connect to VNC through reverse ssh

I am trying to set up a connection between my work machine (running Ubuntu 20) and my home machine (running Ubuntu 18) through a (G)cloud instance (running Ubuntu 20). Because of the strict firewall ...
Michele Valotti's user avatar

1
2 3 4 5
19