Questions tagged [ssh]

Secure Shell; a network protocol that allows data transfer over a secure channel between two networked devices.

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

How do I find the computer name who connected to ssh

I have an ubuntu20 server and a bash script located in /etc/profile.d sends a message to telegram if anyone connect using ssh. The purpose of this script is to find out if there is a hack and to take ...
-2 votes
0 answers
25 views

Securing SSH Keys : SSH Hacked [closed]

I created an t2.micro EC2 instance in AWS and installed WordPress in it. I have used Bitnami's image. I created a new keypair, downloaded the .pem file to my PC. The instance was then hacked. I used ...
0 votes
1 answer
24 views

Docker Error "Error creating machine: Error running provisioning: ssh command error, with Gitlab

Ever time I run the pipeline the same issue presist in the system logs > Gitlab-runner: {"driver":"amazonec2","level":"error","msg":"Error >...
  • 11
0 votes
1 answer
11 views

OpenSSH says 'Permission denied' or 'Connection reset' after I modify my user name through netplwiz on my Windows server

The orginal user name of my Windows PC was the first five letters of my email that I used to register my Microsoft account. It looks quite weird, so I modified it through netplwiz. I've installed ...
0 votes
0 answers
7 views

how do i set MaxStartups for specific user not whole system

i want to set MaxStartups for specific user in /etc/ssh/sshd_config but I cant do something like that since "Match" doesn't support MaxStartups keyword : Match User test MaxStartups 1
  • 11
-2 votes
1 answer
20 views

SSH - What is AllowTcpForwarding "local"

Currently I have some Linux servers with the AllowTcpForwarding set to "yes" in sshd_config file. I have to change AllowTcpForwarding from "yes" to "local" in all the ...
0 votes
0 answers
9 views

double sftp using moba

I use MobaXterm to connect to Server B. This was done by: method 1) Local terminal -> "ssh MYNAME@lab.uni.ac ssh ServerB -tt" method 2) selecting session ->SSH -> network settings- &...
0 votes
1 answer
29 views

How to check version of ssh-keygen?

What command can be used in Linux to display the version of ssh-keygen? Its man page doesn't tell the version, oddly, nor does it mention any option to do it (e.g. -v or --version). Of no use is apt-...
  • 135
0 votes
0 answers
20 views

Windows SSH-Server is only reading first line from "authorized_keys" file

I am trying to SSH from Ubuntu(WSL) to Windows but the OpenSSH-Server on Windows seems to be reading only the first line of authorized_keys file. When I put the SSH-Key I use to SSH from Ubuntu to ...
1 vote
0 answers
47 views

Impossible to return to local machine after SSH in Mac Terminal

I connect to a server through SSH command in Mac Terminal (Ventura 13.1) with: ssh login@serveraddress When I want to quit I type exit. I quit the server but I do not return to my local machine. ...
-1 votes
0 answers
16 views

How to get console history of running app when connecting via putty to the ftp

My app is running on a hosting and I have a console there that I use to launch my node app. I want to have all the logs that arrive at this terminal in my own terminal in Putty on my computer, after ...
0 votes
0 answers
9 views

Screen + ssh (+ xterm?) + different widths = broken wrapping (but only sometimes). What is going on?

I go back and forth between an office machine and a home machine fairly often, and sometimes have long-running code, so a fairly common workflow for me is: Create a screen session on one machine (in ...
0 votes
1 answer
58 views

Which firewall Ports to open for SSH in my setup that uses a bridge firewall?

I can't connect to a LAN PC by SSH if I don't open all ports to the LAN PC in the LAN bridge firewall. I opened 22 and ICMP, with no result. Then I opened also 53,80,443: no result. (TCP and UDP) I ...
  • 109
0 votes
0 answers
18 views

Could not add identity with -t option. Communication with agent failed

I'm trying to add ssh identity with -t argument for lifetime. Without this argument, the ssh-add is successful, but ssh-add -t 100 C:\path_to_key returns Could not add identity "C:\path_to_key &...
1 vote
1 answer
27 views

windows openssh server authentification fails with correct password

I have 2 computers, one is windows 10, the other is macos 10.15.7. I try to login my windows 10 from my mac with ssh laptop-qjn9a0b1\quebec@198.168.3.84. Again and again, it said Permission denied, ...
  • 123
0 votes
0 answers
13 views

EDC8120I Connection ended abnormally for sftp connection from z/OS to Linux machine

we are encountering an issue with sftp connection from z/OS to Linux machine. Connection from different Linux machine works fine. So the destination server should not have any issues. Attaching part ...
1 vote
1 answer
36 views

PAM authentication problems

I am trying to set up PAM authentication along side public key authentication in SSH inside of a LXD arch container. when i connect and give the proper code, i get this information in the journal on ...
  • 11
0 votes
0 answers
55 views

Why can’t I SSH to my PC from another network?

I have a desktop PC and a laptop. I'm trying to SSH into my desktop from my laptop so I can run some code way faster when I'm not home. If both computers are on the same network, I can just do ssh ...
1 vote
0 answers
26 views

SSH doesn't work through mikrotik

I have Mikrotik RB952Ui-5ac2nD. Everything is working fine. But now, I found little problem. I can not connect from LAN to any SSH in internet, but, when I'm connected without mikrotik, i havent any ...
  • 11
0 votes
0 answers
12 views

iOS/Android apps that lets you SSH into a server using Yubikey 5 NFC with Public Key authentication and gpg-agent [closed]

I have a Yubikey 5 NFC, and iPhone 11, and an extra google Pixel 6. I am also running an Ubuntu home server. To log into my server on my mac, I use ssh with gpg-agent and public key authentication, ...
  • 140
1 vote
1 answer
23 views

How do I exit form "Failed validating schema (@jupyterlab/apputils-extension:package)" in Jupyter lab?

I am trying to access jupyter lab using ssh. I am fallen in this error message shown in the image that I attach: It is a similar problem reported in this StackOverflow post. My problem now is: how do ...
0 votes
0 answers
9 views

Ipsec Site-to-Site: I can ssh to the Target Network but not ssh from the target network, Iptables Troubleshooting

Since this is my very first Question here im still a bit green :) Following Scenario: Ipsec Connection with strongswan on a debian system between two Sites with each 4 Subnets site A: 10.0.0.0/24 10.0....
1 vote
1 answer
34 views

Limit number of a user for ssh tunneling

i want to limit the ssh tunneling per user I did create a user with only ssh tunneling permission ( no shell, no directory ) now I want to limit this user not be able to connect multi devices ...
  • 11
0 votes
0 answers
20 views

Park SME Circontrol electrical terminal configuration in ssh [closed]

I am looking for a way to configure version ocpp1.6 in SSH/SFTP of a Park SME Circontrol electrical terminal. I tried to transfer a file named ocpp1.6_conf.xml to the mnt/f1/ocpp1.6 folder, but it ...
0 votes
1 answer
39 views

ssh tuneel, forward port to my wildcard domain name

So hello, i am hosting in my home home server web server, and i would like to acces it globaly so my idea was to setup ssh tunnel the setup is as follows my home server has web server on port :8080 ...
0 votes
0 answers
18 views

SOCKS Proxy reverse with terminal commands passthrough

I want to establish a SOCKS proxy from computer A to computer B, however, computer A cannot talk to B directly due to firewall restrictions. I was able to establish a SOCKS reverse proxy from B so ...
  • 101
1 vote
0 answers
37 views

SSH agent will not start on login

I've got an issue where ssh-agent does not start automatically on login. I have tried writing a service, configuring a systemd autostart script and a bunch of other things. Another thing I've noticed, ...
  • 111
0 votes
1 answer
45 views

Where does ssh-Agent stores passphrase?

I added the passphrase of my ssh to the ssh-agent 4 months ago (i followed a random superuser.com question to do so) Since this, I restarted my laptop and so on but I have never been asked to enter my ...
  • 3
0 votes
1 answer
23 views

Difference between the two KiTTY (PuTTY client) versions found on GitHub?

So looking KiTTY up (PuTTY fork), two versions with two separate GitHub pages come up: http://www.9bis.net/kitty/#!pages/download.md https://sw.kovidgoyal.net/kitty/kittens/ssh/ https://github.com/...
  • 133
0 votes
0 answers
24 views

specify target interface on for ssh tunnel on the other endpoint

I want to configure/maintain two routers on different networks, but both are directly connected to a raspberry pi. The configuration should then happen remotely through a tunnel via that RPi. One ...
1 vote
0 answers
15 views

ssh connection timed out on windows 11 when connecting to specific WiFi router

I have a strange issue with the SSH connection on Windows 11 When I try to access my VPS via SSH, I have got the connection timed out error. But when I change the router everything is fine. I do the ...
  • 103
0 votes
0 answers
8 views

Putty autoconnect when connection is down / or other ssh tunneling alternative?

I've been using putty to ssh tunnel into my server so i can directly print from a web application into a local net printer in my business, and everything works well, the only problem is, putty gets ...
0 votes
0 answers
41 views

SSH key authentication works from Linux but not from Windows

Three machines: A (Ubuntu), B (Windows) and C (Ubuntu) I have run ssh-keygen/ssh-keygen.exe on A and B. ~/.ssh/id_rsa.pub from both A and B are alive and well in ~/.ssh/authorized_keys. When I run ssh ...
1 vote
0 answers
32 views

Why does bash sometimes not start properly when i SSH into my raspberry pi from my computer (but works when SSH'ing from my phone)?

Usually, I can ssh into my raspberry pi (running Raspbian 11) just fine. But sometimes, every few days, ssh will timeout. This will last about a day (independent of restarts of my computer), until ...
-1 votes
1 answer
30 views

SFTP Server using only public key

0 I am sort of new to this whole thing... After googling without any results so far, I was hoping to receive some help here. I received a public key from a server administrator and tried to set up a ...
  • 1
1 vote
0 answers
38 views

ssh and ping work in one direction but not in the other

Two machines, say, old and new, are in the same local network and connected via WiFi to the same router (Speedport). Both old and new run Debian stable, have openssh-client and openssh-server (but not ...
0 votes
0 answers
21 views

How to share socks proxied internet with OpenWrt

I have a router in which installed OpenWrt 22.03.3 and I do ssh root@192.168.1.1 into it. Then I run these two commands: ssh -fnD 1010 root@my_public_server -pPort Now I can have a socks proxy from ...
  • 309
0 votes
1 answer
61 views

Limiting SSH Tunnel users maxlogins

I've created a bunch of users on my Ubuntu VPS to do just SSH tunneling using this command: (taken from here) sudo adduser someuser --shell=/bin/false --no-create-home which works fine as expected. ...
0 votes
1 answer
31 views

Enable ssh in emergency mode for centos 9

I'm trying make a backup system for my Centos Stream 9 headless server by installing a cloned system disk on a newer machine. No surprise, the newer machine booted into emergency mode (hardware ...
  • 119
0 votes
1 answer
65 views

OpenSSH_8.9p1 Ubuntu cannot establish connection to Cisco-1.25. Invalid key length

This problem has already been discussed numerous times, but I am opening this thread because this one is slightly different. This is the log when I try to connect to the computer with IP 192.168.5.2 ...
1 vote
1 answer
28 views

How can I define socks proxy (`ssh -D`) in `~/.ssh/config` file?

I now run this to have a socks proxy: ssh -D1111 my_server I want to add it to my .ssh/config file to ProxyCommand so that whenever I run ssh my_server, I can have a socks proxy. I searched but did ...
  • 309
0 votes
0 answers
34 views

DDclient does not update Google domains

I am trying to setup a DDNS for my home server. sudo -u ddclient ddclient -daemon=0 -debug -verbose -noquiet RECEIVE: <html><head><title>Current IP Check</title></head>&...
1 vote
1 answer
50 views

SSH into device through WSL when connected via hotspot

I have connected my Raspberry Pi to Windows computer's hotspot network. I cannot connect the Pi to the Wi-Fi network at my university because they only allow one device at a time (so I'll lose ...
0 votes
0 answers
12 views

AWS EC2 SSH connection disconnects and won't reconnect without restarting instance

After a period of inactivity, my ec2 instance's SSH connection disconnects and it throws connection timed-out errors on every subsequent SSH connection request. The only way to reconnect is by ...
  • 1
0 votes
2 answers
39 views

Synology NAS DSM: SSH client to backup/rsync a REMOTE server locally

Scenario: a remote Linux webserver (Ubuntu 22.04) a local Synology DS220+ with DSM 7.1 I would like to use the Synology to access the remote server via SSH to rsync the server data locally. The ...
0 votes
0 answers
13 views

Error: Connection time out to my public cloud instance by PuTTY or SSH

I use an OVH public cloud where I have configured apache for my server, the connection goes well with PuTTY. But after activating Certbot let's encrypt I can no longer connect to the instance. I get ...
0 votes
0 answers
11 views

"Your device run into problems" when mapping net drive

I created docker container and I'm connecting to it using SSH: ssh root@localhost -p 2022 I wanted to map it to Z drive as follows (I installed WinFSP and SSHFS-Win grom github): net use Z: \\sshfs\...
  • 101
0 votes
2 answers
32 views

How to debug a failure to communicate (via SSH) for just the root account

I have a host (named giggles) whose root account does not accept incoming SSH connections. It has a user (kevin) account that does. Moreover the two accounts have exactly the same credentials for ...
  • 157
0 votes
1 answer
43 views

How do i rdesktop from Kali Linux to Windows xp and display on Windows 10?

I am on a windows 10 laptop. I am SSHing into a Kali GNU/Linux (has a public IP, and an IP in a LAN) (no root privileges). I am trying to remote desktop into a Windows XP computer (On the LAN, no ...
0 votes
1 answer
14 views

Log in with either a password or a public key. But not both at the same time, and limit the PAM authentication to the root user

I am having difficulties configuring the ssh server. The scenario is as follows. The root user is the only one using google F2A (PAM), the restricted user only connects by password and the rest of the ...

1
2 3 4 5
205