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
14 views

How do I “elevate” myself to admin status when running in a command shell?

I am logging into a Windows Server 2016 box on GCP via SSH. That leaves me logged into a powershell session, but I need to have Admin privileges to successfully run some commands. I do not have ...
0
votes
0answers
15 views

How to fix opening a browser on a remote machine while seeing the display on the local machine?

Following the instructions explained here I edited the file /etc/ssh/sshd_config and added the lines X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes and restarted the sshd using sudo ...
0
votes
0answers
6 views

ssh-agent forwarding through proxy locks up ssh connection

So I have a weird ssh problem with agent fowarding I'm trying to debug. I have a number of machines inside a firewall I can access via proxy, or directly if I'm connected inside the firewall. ...
0
votes
1answer
23 views

Stuck in Bandit level 0. (overthewire.org)

While it's very easy to connect using putty from this machine, a Windows Surface 3, I seem to be stuck when using the console: https://www.reddit.com/r/securityCTF/comments/6phnaw/...
0
votes
1answer
17 views

Bypass Linux password login with netcat or ssh or telnet

How can you bypass a password login with nc or ssh? I type 'nc IP-address 13880' and it gives me the login form I need to bypass. Can anyone give me any tips?
0
votes
2answers
36 views

SSH: Remote Host identification has changed

I have a machine running ubuntu and another one that is a mac. They are connected to the same router. In the past I could connect from my mac to the ubuntu one using ssh and the IP address and use of ...
6
votes
2answers
983 views

Why does `curl <this machine's IP>` behave differently than `curl localhost`?

(Redirected from networkengineering.stackexchange) I have two Raspberry Pis on my network - let's call them Pi and Rho. I'm trying to set up port forwarding via ssh tunnel between them, such that an ...
0
votes
0answers
14 views

port forwarding solutions/alternatives over a router with CG-NAT

I have a Ubuntu desktop (19.04) , i want to use this as a server at home , and access it using ssh , what i have done up till now is that i have installed ssh on this system , i can access this from ...
0
votes
0answers
14 views

I cannot connect to the ssh console on my VM instance

I am currently having problem connecting to the ssh console of my vm instance. If you need info on the vm instance I think the operating system is a Linux Debian 3.7.4. I think it has something to do ...
1
vote
1answer
39 views

Ubuntu 18.04 Not entire RAM is used but 2/4GB of swap is used,

So I have been working hard to optimize my Ubuntu Server 18.04 runing LEMP with everything up-to-date, including latest kernel updates and I have noticed some small delays in SSH responsiveness. My ...
0
votes
0answers
19 views

Start a script on a another computer via ssh using python [closed]

So I want to create a Python script (client) that starts another python script (server) on another computer (via ssh) and then the output of the server script gets received to be processed by the ...
0
votes
0answers
12 views

Can't do ssh port forwarding via systemd

I can run port forwarding command in terminal, but command doesn't work when running via systemd. Command(perfectly works when running manually): /usr/bin/ssh -vvv -i /home/alex/.ssh/...
0
votes
1answer
18 views

Why is tmux not recognizing ctrl+shift+arrow through MobaXterm?

I've configured tmux so that ctrl+shift+left/right arrow moves windows left/right in their numerical arrangement. I.e.: # ~/.tmux.conf ... bind-key -n C-S-Left swap-window -t -1 bind-key -n C-S-...
1
vote
0answers
10 views

Convert Portable Kitty session to registry Kitty session

I've set up about 30 ssh sessions in Kitty's portable version. I would like to apply themes to my terminals which is much simpler by going through the registry. Do you know a way to convert portable ...
0
votes
0answers
11 views

SSH laggy in local network when ping not running

We have multiple Jetson TX2 Ubuntu machines on our local network, and they all share the same problem. On WIFI (on the local network) SSH is extremely laggy. Generally it will take 1-2 seconds for ...
1
vote
1answer
27 views

SSH tunnel to access third-party HTTPS pages?

Is it possible to access third-party HTTPS pages over an SSH tunnel? I have to access third-party websites with tight security rules from home-office. Due to the security rules, only access from my ...
0
votes
2answers
80 views

SSH Permission denied (publickey) no matter what I do

Just when I thought I had a complete understanding of how SSH works and what not, its randomly stops working again out of the blue again. My permissions are perfect on both machines. One is a Debian ...
0
votes
1answer
37 views

Private and Public IPs are confusing

I discovered recently that there is two types of ip, i.e. the Public IP and the Private IP. I know that the Public IP is the one the external world can see and the Private IP is local to our network. ...
0
votes
0answers
5 views

It's possible to make tunnel via plink to ssh and then ssh give access to internal network via socks port

I have such a situation, have three machine. Windows where have plink [box1] Debian Server (VPS) with ssh [box2] Debian Desktop (which is different network) [box3] I want that [box1] connect to [box2]...
0
votes
1answer
25 views

Configure static IP-adress to connect to device in subnet

I have a Dragino-Yun v2.4-shield, which is a device that can be connected with an Arduino to give it networking-capabilities. It has An Ethernet-Port and Wifi. I don't have a wifi-antenna at the ...
0
votes
0answers
27 views

Installing OpenSSH with PowerShell

How is ssh used? ********************** Windows PowerShell transcript start Start time: 20200325223558 Username: DESKTOP-9AKB65V\thufir RunAs User: DESKTOP-9AKB65V\thufir Configuration Name: Machine:...
0
votes
0answers
21 views

How to get help for the Posh-SSH cmdlet?

I ran Get-Help which asked whether I wanted to run Update-Help, which I did. How do I get help on using Posh-SSH from within the powershell CLI? PS C:\> PS C:\> Get-Command -Name *ssh* ...
1
vote
0answers
41 views

SFTP/SSH/Filezilla connects from Windows, but not from linux

I have two networks in neighboring households. One is 192.168.1.0-191/24 and the other one is 192.168.1.192/26. Internet <-> (1st) 192.168.1.0-191/24 <-> (2nd) 192.168.1.192/26 Not entirely ...
0
votes
0answers
17 views

Find the IP address of a headless Linux guest on VirtualBox from host OS side [duplicate]

Following the disappointment with resolutions settings solutions of this page, I want to just run the Linux guest virtual machine, in headless mode, as instructed here: VBoxManage startvm "<...
0
votes
1answer
38 views

Changing user password for multiple server using shell script, Linux Debian10

I have a few servers I need to configure and all the servers have the same user, I need to have the user to key in the username and new password so that I can run this script to configure all servers. ...
0
votes
0answers
17 views

SSH port forwarding breaks the original port?

I have a device configured to use port forwarding via ssh to allow access remotely. This works fine, except that for most of the forwarded ports the host seems to now refuse direct connections with ...
0
votes
0answers
17 views

QEMU emulating a Raspberry Pi doesn't have Internet capability?

I'm attempting to emulate a Raspberry Pi with a QEMU ARM emulator on my macOS Catalina 10.15.1 machine. Mostly following this guide, I've been using the latest Raspbian Lite (4.19 Buster) with the ...
0
votes
1answer
39 views

Why does ssh clone from gitlab repo need password from WSL but not Linux-native PC?

From a Linux-native desktop, I am able to clone a project from our gitlab repo like this: git clone git@git.company.com:namespace/project.git No problem with the above: specifically, I'm not asked ...
0
votes
0answers
39 views

plink not echoing stderr

I am using plink to run commands on a windows server running openssh. It appears that plink doesn't echo output that is on stderr. For example, where bork.exe prints "stdout" to stdout and "stderr" to ...
0
votes
1answer
34 views

The password is different than what the system expect

This is a bit strange. I have two computer. One where the OS is Ubuntu and the other where it is a Windows 10 VM. From the first computer, I SSH my VM and I got this jeremie@jeremie-ThinkStation-D30:~...
0
votes
1answer
36 views

SSH a Windows 10 VM from Ubuntu OS

I have two computers. The OS of the first one is Ubuntu and I am using a Windows VM (VirtualBox) on the second computer. I use a Bridge Adapter with the VM. Right now I am able to ping the VM, but if ...
0
votes
0answers
53 views

Strange Thing About SSH Port Forward

I set an ssh port forwarding in my local server, and applied the socks5 proxy only in current terminal: ssh -4 -fqTnND 1234 [REMOTE_SERVER] export all_proxy=socks5://127.0.0.1:1234 Then I checked my ...
0
votes
1answer
34 views

Not able to curl to my VM when ssh is working

I'm trying to run a simple flask server on an Ubuntu VM. I can ssh into it,with myuser@123.456.789, but if I execute curl 123.456.789:8000 I get an operation timeout, even though the server is ...
0
votes
1answer
19 views

How to set default shell to WSL bash for SSHing from Windows 10 machine to another Windows 10 machine (VM)?

I am SSHing into a VM on the Windows command line and the WSL bash. However, each time I SSH into the Windows 10 VM (from my own Windows 10 local machine), it opens up the default Windows command ...
0
votes
1answer
36 views

How can I block (ssh) traffic from source ports other than a pre-defined one?

A VPS get lots of ssh attacks. Those attacks are various source ports: sshd[76661]: Invalid user ts3server from 76.103.161.19 port 33062 sshd[76661]: Received disconnect from 76.103.161.19 port 33062:...
1
vote
1answer
27 views

How to do I check with ssh that my Windows 10 pc is ready for remote connection?

I wake my Windows 10 PC with wakeonlan and connect with a remote desktop service. However if I try to connect too soon after waking the PC the connection fails and I have to try again. Is there a ...
1
vote
0answers
29 views

why ssh-agent and ssh-add commands are not working together in one bash script?

I wrote one script where I would like it to start the ssh-agent first in order to run the agent in background, and sets the appropriate environment variables for the current shell instance. However, ...
1
vote
1answer
22 views

Generating private+public keypair for SSH: difference between ssh-keygen and openssl?

I want to create private and public key pairs to be used for SSH authentication. I can't figure out the difference between this: openssl genrsa -out MyPrivateKey 4096 openssl rsa -in MyPrivateKey -...
0
votes
1answer
21 views

ssh inline proxy jump using keys is not working

I need to establish a connection to a remote server via proxy jump. I'm trying to use the -J flag to do that. I understand that the syntax looks like this: ssh -J A B But I need to use key files for ...
0
votes
0answers
17 views

SCP fails on specific system

I'm trying to SCP some files (both ways) to my raspberrypi. However, on ONLY my Ubuntu 18.04 desktop, I am unable to SCP into it. Both ways, I can SSH into each other, both via password and ...
1
vote
0answers
23 views

Set hostname aliases for OpenSSH on windows

My google Fu seems to have failed me here. I know how to create host aliases on unix by adding them to ~/.ssh/config. However I can't seem to find an equivalent on windows. How do I create hostname ...
1
vote
0answers
13 views

Connecting with putty on windows to a server and then to a opensuse computer. Cannot connect o X server localhost:11.0

i have read a lot of posts about this but none have solved my problem, any help is much appreciated. I'm trying to ssh from my windows machine to a linux cluster and from there to a linux pc running ...
1
vote
0answers
19 views

Detect that a host is reachable via a jump host

I have setup a tunnel on my mac(Mojave) through a jump host as such : ssh -o ProxyCommand='ssh -W %h:%p bastion' -i my-emr.pem -ND 8888 hadoop@ip-my.ec2.internal bastion is a host I have defined in ...
0
votes
0answers
52 views

Connecting to GitHub with ATOM - configuring and starting

We can merge GitHub with Atom, so you can pull your repo on GitHub to Atom, that said we can: See changes on Atom make changes in Atom commit in Atom, and then push to GitHub, similar to GitHub ...
0
votes
0answers
15 views

ssh agent does not create ssh-askpass file

I'm on arch linux and I'm using ksshaskpass as an ssh helper. I'm trying to set up SSH keys for pushing to git. After creating an SSH key and adding it with ssh-add, I go to use it with visual studio ...
0
votes
0answers
20 views

ssh Permission denied()

I am trying to ssh user@ip-address and I get Permission denied () error. Earlier I had Permission denied (publickey,password) and changed the ssh_config to PasswordAuthetification=no and in ...
0
votes
0answers
11 views

With SSH on Windows, how can I provide access to just a single folder?

Goal I have an SSH server enabled on my Windows machine and would like to provide access such that in a clean manner only one folder is accessible (in this case C:\SSHShare). Initial Ideas The ...
0
votes
1answer
22 views

Windows wan remote control terminal w/o port forwarding

I am trying to find a solution that I can use to remotely execute Windows cmd commands. I know of PSExec from PSTools suite that's embedded into windows, but from what i understand it's made to be ...
1
vote
0answers
13 views

ssh -o ControlMaster=auto causing issue with GCP google container registry authentication?

(sorry, this is somewhere between an ssh and google cloud question) I have a python script sending commands to a GCP VM through ssh to install docker, download the docker credential manager for ...
1
vote
0answers
18 views

Cannot access a server on Windows 10 using ssh key

I successfully connected to the server on Linux but I could not connect to the same server with the same ssh keys that I copied to my Windows 10 computer. I have already did a lot of research on ...

1
2 3 4 5
175