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
0answers
22 views

SSH reverse tunneling alternative?

I have a Minecraft server running on my local Windows PC and a remote Debian server that I use to bypass my ports using SSH reverse tunneling. My problem is that the ping is somewhat high, and I ...
0
votes
0answers
21 views

ssh Lockup With ForwardX11=yes

Why do both of these lockup, never giving me my prompt back? % ssh -X $(hostname) exit % ssh -o ForwardX11=yes $(hostname) exit They both create an ssh session on the current machine with X11 ...
0
votes
1answer
23 views

How do I prevent orphaned `sshd` processes on the server end?

I have a number of processes on client machines that ssh to server machines and do things. Sometimes those client processes end unexpectedly for whatever reason. This always leaves an sshd process ...
1
vote
0answers
15 views

How to limit sshd/sftp connections or memory use in Linux?

I'm working on an embedded Linux system, and I found it will report 'page allocation stall' while I'm downloading file via sftp. Please refer to this video for detail. I've tried the following ways to ...
0
votes
1answer
17 views

Convert GPG key to SSH

I'm currently using gpg-agent to authenticate when I use SSH. However, I would like to go back to just using a plain SSH key without GPG being involved. Is there a way to extract my GPG private key ...
0
votes
0answers
14 views

Command Prompt Black Screen NVIM

I'm facing a really annoying issue with CMD these days. When attempting to launch neovim on Windows, the display is full black and I don't see any output. Issue is the same when I SSH into a Linux ...
1
vote
1answer
24 views

Can you copy public ssh id to authorized keys upon login without ssh-copy-id?

Besides using ssh-copy-id client side or manually pasting your key into authorized keys server side, is there a way once you have already logged into ssh with your password to automatically add your ...
1
vote
1answer
14 views

Linux permissions varies between parent directory and double dots

I have a directory content: [root@myserver ~]# ll -a /home/user/.ssh drwx------. 2 thomas water 48 26 nov. 15:57 . drwxrwxrwx. 12 thomas water 4096 25 nov. 11:36 .. -rwx------. 1 thomas water ...
0
votes
0answers
20 views

OpenSSH BUG - Can't SSH when running "sshd" as a "Service" - Can when "sshd" is run from the cmd line

I want to ask if you are familiar of some version of the OpenSSH server that can be installed in Windows which does not have active following issue: if "sshd.exe" OpenSSH server process is ...
0
votes
1answer
31 views

How to tranfer files with SSH from PC to iPhone over USB

DISCLAMER : Stack Overflow closed my question and told me to post here so do not be mad at me please Hi I am trying to tranfer files from my windows computer over to my jailbroken iPhone using openssh ...
0
votes
0answers
32 views

Powershell / cmd does not render ssh programs run on remote machine

I can connect to my remote debian machine with ssh and all screen is drawn OK. Commands like build-ins or ping outputs seem to be rendered correctly. The problem starts when I like to do anything with ...
0
votes
0answers
6 views

how use ssh with MultiMonitortool [closed]

Hi guy I want change my pc resolution form my phone. my ssh command on my phone not working. C:\MultiMonitor\MultiMonitorTool.exe /LoadConfig C:\MultiMonitor\gaming.cfg but this command is working ...
0
votes
1answer
22 views

How to unblock an outgoing port in Windows (Windows 10 Pro)

It appears that Outgoing Port 22 is blocked in a windows machine that I'm working with. The reason I think this is that I cannot SSH into anything using the windows terminal or Putty. I tried a few of ...
0
votes
0answers
22 views

X11 forwarding failed on one particular Ubuntu computer

I'm getting a failure on only this computer (synergistics). Other computers on my home network I can ssh into them with -X -Y, start an application and the window shows up on my workstation (uname -a =...
0
votes
1answer
14 views

Straight rsync with intermediate SSH host

There's a bunch of great tips here regarding using rsync with "proxy" host, but all I found assume there's SSH server everywhere. What I have is: host A - rsync client, SSH client (Linux), ...
1
vote
2answers
125 views
+50

How to do automatic 2FA with SSH/SCP on Windows (ideally using PuTTY+WinSCP)?

I am on Windows 10 using PuTTY and WinSCP to SSH/SCP into a linux server that has two-factor authentication (2FA). Each time I log in, it asks for my password and a verification code. I am curently ...
0
votes
0answers
19 views

ssh: connect to host {ip} port 22: Unknown error

Pretty much I set up ssh on a windows 10 machine with OpenSSH and I get the error ssh: connect to host {ipv4} port 22: Unknown error every time. I am typing ssh Woodw@{ipv4} to connect to the server. ...
0
votes
0answers
14 views

FOSS solution for Linux desktop remote support [closed]

I'm searching for a free and open source solution for remote support to Linux desktop workstations that can can be tunneled through ssh. I need to be able to connect to an already logged in and ...
0
votes
0answers
13 views

Connect to Azure Public IP Address and tunnel traffic to private IP address in database port

I have the following setup in Azure with two virtual machines: Windows Server 2019 with Public IP address Firewall rules allowing traffic by Internet to this VM on SSH, HTTPS and RDP Network traffic ...
0
votes
1answer
16 views

ssh hostbased access denied

Under Centos 7 with Selinux disabled, I can't connect through ssh with hostbased authentication. Server side : /etc/ssh/sshd_config : HostbasedAuthentication yes IgnoreUserKnownHosts yes ...
-1
votes
1answer
24 views

hostname wont work on SSH in public network

my SSH client wont push request with my computer name(host name), it works only with my ipv4(IP Address) of my laptop when connected to campus network(public network), how can i fix this?(my ...
0
votes
1answer
37 views

Windows CMD "or" Symbol ("||") Only Works Sometimes

I have written a batch script on my windows ten laptop (I am used to bash scripting, so this might be a simple cmd scripting answer) that sshs into my Ubuntu Server 20.04.3 at home no matter where I ...
0
votes
0answers
16 views

How to debug ssh not connecting on specific port?

I am trying to connect to a docker that is run on a remote machine using ssh, with the docker exposing its own port 22 as port 2222 on that remote machine. After docker run -ti --hostname my_docker --...
0
votes
0answers
26 views

ssh: Connection reset by peer Mac OS

To work with Hadoop, I edited the hosts file and deletе some lines (these lines interfered with correct operation). When running ssh localhost, I encountered the error: kex_exchange_identification: ...
0
votes
1answer
16 views

How to set up multiple sftp users with specific requirements

I have an ec2 instance running ubuntu 20.04. I need to set up multiple sftp users with the following requirements: Each can log in directly to their own directory. They should not be able to see, or ...
0
votes
0answers
28 views

Windows 11 - can't create a public key with SSH-Keygen

I am trying to create a key with ssh-keygen but none of the keys is considered fitting when I try to use in GitHub (unless I am getting it wrong). Posting examples below. This is my id_rsa file: -----...
0
votes
1answer
23 views

ssh connexion : Permission denied (publickey,password)

I'm trying to connect to my server with a ssh connection, so it works when I use FileZilla but not with the command line ssh <login>@<ServerIP> -i /Volumes/ExternalDisk/key.ppk I have this ...
0
votes
0answers
20 views

How to copy with the mouse from tmux to the OSX clipboard

I connect to a remote server with VS Code through ssh, using https://code.visualstudio.com/docs/remote/ssh, so I'm not using iTerm. I open a Terminal window in VS code. Using the mouse to copy text to ...
0
votes
2answers
32 views

Save/backup Ubuntu server with users and state over SSH to image or similar

I have a remote Ubuntu server which I will install a small software stack on, set up one user, configure the firewall, and change a few systems setting on. After I have done that I would like to back ...
0
votes
2answers
32 views

Unable to ssh into ec2 instance with .pem keypair

I created a new temporary ec2 instance (using a snapshot of my original ec2 instance) ang generated a mykeypair.pem file to use as a keypair that I hoped would allow me to connect to my virtual ...
0
votes
1answer
25 views

Installing ssh server in windows 10

I cant install ssh server in windows 10 as I mentioned in this post here: Can't install open ssh server in windows 10 So i want to know is there any other way or third party way to install it in ...
0
votes
1answer
24 views

I am trying to run the tcpdump on remote machine using ssh using nohup

I am trying to run the tcpdump on remote machine using ssh using nohup. [support@sv4-haswell107-bqkp91500107-node-1 ~]$ nohup sudo tcpdump -i lo port 2049 -s0 -w ./test.pcap >/dev/null& ...
0
votes
1answer
46 views

Why does GitHub recommend ed25519 SSH key encryption scheme, but itself uses ECDSA?

https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent Above recommends using ed25519 when configuring SSH keys for connecting ...
2
votes
1answer
50 views

Can't install open ssh server in windows 10

I am unable to install open ssh server in windows 10 .I have use the GUI methord (add optional features)but it did not worked then i checked it is already installed or not using powershell C:\WINDOWS\...
0
votes
0answers
25 views

How to forwarding audio through SSH

I'm trying to forward every sound from the remote computer to the local computer. My remote computer is CentOS8 and my local computer is Ubuntu 20.04. I'm trying to follow the guide in the link1. ...
0
votes
1answer
13 views

Make my machine open to internet through VPS

So currently what I have as follow: Private IP A Windows local machine I have full access for An Amazon free-tier VPS that I have full access So as you know the AWS Free Tier has a public IP on it, ...
0
votes
1answer
36 views

Over SSH, can you use the same private key on the host side for other purposes?

I'm sat on one computer ('client') and connecting through SSH to another computer ('host') using my private key. On the host computer, I would like to clone a Git repo using the private key that's ...
0
votes
0answers
15 views

How to SSH control your Windows through iPhone shortcuts on every network?

How to SSH control your Windows through iPhone shortcuts on every network? I have noticed every time I connect to a new network the IP of my Windows changes, which makes the SSH request useless! How ...
0
votes
0answers
39 views

Remote server: no such file or directory

Remote server shows some files (.csv) in a particular directory but I cannot open those files or delete them. I have tried using Windows File Manager, FileZilla and also Command Prompt using ssh. When ...
0
votes
0answers
39 views

Windows GUI SSH client

How can I connect with SSH certificates and PKCS#11 token from GUI client? I need to provide SSH client with a signed SSH certificate file, PKCS#11 DLL and token PIN, but not SSH private key in file. ...
0
votes
2answers
114 views

Endless ssh attempt from my IP using my public key ? Fail2ban fail to log anything useful

Lately, my hostinger server has been acting strange, I have hard time accessing the site hosted on it, I can't even ssh, however when I restart the server from hostinger panel. It works again. Upon ...
1
vote
1answer
24 views

SSH passthrough?

I borrow the word "passthrough" from GPU passthrough in virtual machine because the concepts sound similar to me, at least from usage point of view. Here I have a QEMU MV, both host and ...
-1
votes
0answers
31 views

SSH, PING and TRACEROUTE not working

everything worked fine couple days ago, now i cant ssh nor ping a device on my home network(it times out). i can't even ssh local host, then it says connection refused, also traceroute doesen't work ...
0
votes
0answers
22 views

Creating a new base box in Vagrant, SSH auth Method: Private Key Authentication failure, from a Vagrant Image

Update: I have yet to find an actual resolution to my question. I, however, in my reading over the weekend, found a workaround. Ultimately, I believe the issue to be related to the lack of insecure ...
0
votes
1answer
23 views

Using ssh remote forwarding with two ip addresses at the same time?

I have been using sublime remotesubl package so that I can use sublime as the text editor to do work on a remote server. Following this remotesubl github tutorial, I was able to set up the system with ...
0
votes
1answer
30 views

How to download a file from private GitHub repo via the command line

I'd like to find an easier way to grab a file from a private GitHub repository. I managed to download a file via curl by creating a personal access token on GitHub, and then using it like this: curl ...
0
votes
0answers
14 views

Is there a way to read available local printers from shared hosting?

I'm currently trying to access the local printers from shared hosting in Godaddy. Is that possible? It's because I wanted to print receipts on my thermal printer with my web app. I made use of this ...
0
votes
1answer
31 views

scp transfer through an intermediate host

I have 3 servers: A, B, C and need to transfer a file from A to C. ssh is only possible from A to B and from C to B (see below), because A and C are on 2 different VPNs. A → B C → B SSH is not ...
0
votes
0answers
23 views

Unable to SSH into EC2 Instance from configured rule iptables

Currently I have an EC2 Instance setup with SSH allowed in the security group, I have inputted into my table -A INPUT -p tcp -m state -m tcp --dport 22 --state NEW -j ACCEPT and -A OUTPUT -p tcp -m ...
0
votes
0answers
18 views

Unable to SSH into EC2 Instance [duplicate]

Currently I have an EC2 Instance setup with SSH allowed in the security group, I have inputted into my table -A INPUT -p tcp -m state -m tcp --dport 22 --state NEW -j ACCEPT and -A OUTPUT -p tcp -m ...

1
2 3 4 5
193