Skip to main content

All Questions

Tagged with
0 votes
1 answer
34 views

How to copy SSH private key from Ubuntu to Windows?

I needed Ubuntu on my Windows laptop to work with remote servers, so I installed VMware to run Ubuntu on the same machine. Now I need to transfer the private key from Ubuntu on VMware to Windows to ...
Marjan Esehaghi's user avatar
1 vote
1 answer
45 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
96 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
1 answer
145 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
162 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
0 answers
216 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
151 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
1 vote
1 answer
750 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
215 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
0 votes
1 answer
63 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
0 answers
814 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
305 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
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
96 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
137 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

15 30 50 per page
1
2 3 4 5
26