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

Rsync Over SSH without PWD as Root -Catch-22

I have a remote directory that I want to rsync to my local machine over a ssh without a pwd because I want it be run as a cronjob (root user) This command (no "sudo") fails because it cannot ...
0
votes
1answer
17 views

Backspace deleting the entire line in terminal

I have SSH'd into a gateway computer and then from there SSH'd into another computer. Every time I click on backspace the entire line gets deleted... Using stty -a gives me the following (partial ...
0
votes
0answers
6 views

Open a local folder in a VSCode Remote-SSH session

I am using Microsoft Visual Studio Code 1.50.1 on Windows 10. I'd like to develop on a remote virtual machine running in Amazon Elastic Compute Cloud (EC2). This works fine, but I can't open a local ...
0
votes
0answers
6 views

I can't connect to reverse SSH from another device

New to all this stuff, sorry if it seems basic. I have a Raspberry Pi creating a reverse SSH tunnel (over the Internet) to another RPi that I use as a server. Tunnel creation : ssh -i /home/pi/.ssh/...
1
vote
1answer
31 views

Not able to run “sudo” after rebooting my Odroid-C2 system running Ubuntu 20?

I was happily working on my Ubuntu when suddenly — after a reboot — I realised I cannot longer invoke sudo nor root. Basically, this is what I get no matter what: lui@odroid:~$ su root su: ...
0
votes
1answer
56 views

Unable to delete a ufw rule that has a space in it

After installing ufw on several servers, I see the following rules: To Action From -- ------ ---- 224.0.0.251 mDNS ALLOW ...
1
vote
1answer
28 views

How to connect a local virtual machine to a remote server via SSH?

I usually connect to the remote server with MobaXterm and a VPN, but now I need to connect a VM in my local machine to the remote server, I have access to the internet in the VM, the network adapter ...
0
votes
3answers
41 views

iptables drop INPUT packets if they're not from my country

I'm thinking about adding rules to my iptables (Debian system) INPUT chain in my VPS that would only accept packets coming from my home country (my country isn't a huge one). I've found a site that ...
0
votes
0answers
33 views

SFTP - connection without private key

new to this but trying to understand how it works and if it's possible. I have a public ssh key provided by a third party. My company has provided the host, port and username details for an SFTP ...
0
votes
0answers
44 views

kex_exchange_identification: Connection closed by remote host

I am trying to connect to my iPhone with ssh but I cannot fix this error: kex_exchange_identification: Connection closed by remote host I have already installed OpenSSH on my iPhone and I want to ...
0
votes
0answers
8 views

Why there is two themes directory(wordpress) in ssh?

So i connect through ssh mort_ftp0@cgi.10.ipipe.ru and see that theme forlder doesnt exist. mort_ftp0@cgi10:~/domains/loungefirst.ml/html/wp-content$ ls -l -rw-r--r-- 1 mort_ftp0 mort_ftp0 30 сен ...
0
votes
1answer
23 views

Why would my MacBook Pro be setup in a port forward in my LAN?

I came across my computer in the port forwarding area of my LAN at my parents house. I did not set this up and am concerned that it’s being used to spy on my computer. I’m not a super user but I know ...
0
votes
0answers
12 views

Interactive password change with plink via exec channel

I'm using a service that requires changing a password as such: plink -ssh -t {User}@{IP} changemypassword After pressing enter, the server prompts for your current password, then the new password, ...
0
votes
1answer
27 views

How to ssh into linux host in VMware Workstation 15

I am using VMware Workstation 15 inside Windows 10. I have created an Ubuntu instance under it. From another machine, I can ssh into it if I am connected into local network, but I am unable to connect ...
2
votes
1answer
87 views

Why are there different id_rsa key lengths between a new Mac, an old Mac and an old Windows machine

When I execute ssh-keygen -t rsa on my Windows and an old Mac I get a 38 line id_rsa file. When I execute the same command on a new Mac I get a 27 line file. Just wondering why I get different results?...
0
votes
2answers
58 views

SSH/RDP Access to LAN Behind OpenVPN Server with Split Tunnel

I want to set up an OpenVPN-based private VPN so I can access my home LAN while on the road. I'm looking to have these capabilities: Remote clients should be on a separate subnet (which seems to be ...
0
votes
0answers
17 views

How can I port forward in my router if I don't have virtual server option?

I'm trying to use qBittorrent outside my local network. I tried the port I set on CanYouSeeMe.org but it gave me this error? Error: I could not see your service on ... Port on 8080 What steps do I ...
0
votes
0answers
11 views

Why SSH tunnel disconnects even I have higher values for ServerAliveCountMax?

I have a shared server where I have created a SSH tunnel to another server I have for connecting to to MySQL ssh -o "ServerAliveInterval 60" -o "ServerAliveCountMax 172800" -L 3307:...
1
vote
0answers
13 views

High variance of SSH connect latency

I am trying to SSH to a remote server. Sometimes I connect quickly in under a second. Other times, it takes much longer - between 7 and 25 seconds. I tried running with ssh -v for debugging. When it ...
0
votes
1answer
27 views

How do I use KeePassXC as an SSH agent?

There's an SSH Agent tab in KeePassXC's options. How do I use it to manage my SSH keys across multiple Windows and Linux machines?
0
votes
1answer
29 views

How do I make ssh-add recognize the running ssh-agent service with Microsoft's OpenSSH?

In the course of trying to accomplish a more complicated task (involving hardware security keys and GPG keys for SSH authentication), I have run into an ornery ssh-add utility on my Windows 10 machine....
0
votes
1answer
31 views

I copied all files from /home/user excluding .ssh folder to another server (and could use passwordless ssh into it), now ssh requires password. why?

Both servers have the same user, I use rsync and exclude the ssh folder in /home/user/ , but every time I do this (part of my new server setup pipeline) suddenly I have to start typing the password ...
0
votes
0answers
29 views

Can't type password for SSH in Powershell

I would like to render an animation in Blender program over Google Colaboratory and I followed this tutorial to help me do that https://internet-of-tomohiro.netlify.app/google_colab/vnc.en.html. So ...
0
votes
0answers
11 views

How to ssh into wsl running in virutalbox from linux host

As the title suggests I have a windows 10 vm running in virtualbox on my host linux machine (Manjaro if it matters) and inside of my windows 10 vm I am running wsl 1 with a ubuntu 20.04 distro (This ...
0
votes
0answers
17 views

Trouble setting up permissions for jailed SFTP user

I'm running Arch and have created a new user named moderator that I would like to give access to a couple of folders that they can read / write to. My plan was to create a new folder, named "mod&...
1
vote
1answer
41 views

Transfer a directory over ssh with sudo

I am trying to transfer a directory from a remote server(CentOS) to my local machine(Ubuntu) over ssh. There are two users : A and B. User A can ssh into remote server and has sudo access. User B owns ...
1
vote
0answers
18 views

final link failed ssh

make task_1 gcc -std=c11 -Wall -Werror task_1.c -lsuperkarel -lcurses -o task_1 /usr/bin/ld: final link failed: Disk quota exceeded collect2: error: ld returned 1 exit status make: *** [Makefile:9: ...
0
votes
1answer
30 views

SSH can't resolve domain?

Good evening ladys and gentlemen, I set up a subdomain on FreeDNS to connect to my server via PuTTY. When i try to connect via to the domain it timesout, it was working yesterday (using the domain) ...
1
vote
2answers
27 views

How to avoid putty's connection timeout

I am using putty to test an m2m device. When I try testing the standby-mode I get an error saying that the software aborted the connection. By standby-mode I mean it literaly shuts down everything, ...
0
votes
1answer
54 views

Connection ssh refused

I am trying to connect to my ssh session on my web shared hosting and i get this error ssh user@my-ip -v OpenSSH_8.1p1, LibreSSL 2.7.3 debug1: Reading configuration data /Users/user/.ssh/config ...
2
votes
0answers
20 views

Samba CIFS mount only works after SSH connection to samba server

CIFS mount of my remote samba share for some reason unmounts from client in the middle of nowhere and doesn't mount back (log below) until I do an SSH connection from client to server, which, for some ...
1
vote
0answers
20 views

Fix ufw blocking ssh access, but one port is open

I was trying to setup syncthing to sync my code between my mac and a remote VM and so installed ufw on the VM. I successfully got both the machines to be in sync, but after logging out of the ssh ...
1
vote
0answers
11 views

Cannot SSH into CentOS 7 VM from Ubuntu - “Resource temporarily unavailable”

I cloned this VM and changed the IP. In doing so it apparently wiped the ~/.ssh directory. I have since recreated it but I still cannot SSH into the Cent OS 7 VM. This is what I get when I try an ...
0
votes
1answer
21 views

Hostname from file in SSH config

I have a file which contains just the IP address of the server. I would like to have an SSH config which gets the pathname from that file. For example instead of this: Host insight-prod-manager-1 ...
0
votes
1answer
13 views

Current directory in SSH config

I have a project which has all the id_rsa files and an SSH config in it, which has entries something like this: Host projectname-server-1 User root Hostname 26.139.18.47 IdentityFile ./...
4
votes
5answers
264 views

Sharing my computer with someone to run heavy CPU/GPU compute while I continue to use it

I'd like to give access to my powerful Windows 10 Pro machine to someone from the outside (who I trust completely) to run Python/PyTorch programs, using the GPU for compute. The key is that I'd like ...
0
votes
0answers
22 views

Bash Script Doesn't run properly when closing the terminal

following Bash Script runs properly when I execute the exit command. #!/bin/bash user=$(echo $(who am i) | awk '{print $1" "$5" "$3" "$4}') formattedUser=$(echo $user | ...
0
votes
0answers
7 views

How to connect ssh via vpn?

I recently opened an OpenVPN server using AWS EC2 to connect from a client to an ssh server located in a firewall. The client and server are connected to the OpenVPN and have their own IP addresses, ...
0
votes
2answers
50 views

Is there a way to use putty without authentication?

I am trying to access a university server using putty SSH however I don't have a key, all i have is a username and password. Whenever I try to connect I either get the no supported authentication ...
0
votes
1answer
27 views

Why ssh-keygen and ssh fingerprint is different?

xiaojie@ubuntu:~/.ssh$ cat ~/.ssh/id_rsa.pub ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDiRDV1OlNoxzLaJI0Z2kWtrfD4FINaU3uwuH5e0VmkbkkG/tbD61R5pFHw2z3ZlPPYNP0NbWIzWUIA4gpCkMUgSg/lFsO6Ti3ppKBOEHy/uoEWvDgIbHu/...
0
votes
1answer
13 views

x11 apps wont run under Windows SSH server

I have an SSH server configured on Windows and whenever I connect to it and issue notepad, the program does not open: I tried both -X and -Y flags when using SSH, both on the server host system [...
0
votes
1answer
26 views

shell request failed on channel 0

im using ssh to connect my university server ssh <myusername>@<server_Address> after I enter my password I get this Error: -bash: fork: retry: No child processes and the second time I ...
0
votes
1answer
23 views

Change OpenSSH Window Title On Sucessfull Login

I just got a new server and as I wanted to transition from Ubuntu to Debian, installed Debian 10 on there. Im Using OpenSSH provided by Windows to login (OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5) I ...
-1
votes
1answer
64 views

Idle SSH connection gets reset in ubuntu 20.04 WSL (Windows10)

I am using ubuntu wsl on windows10. I use it to ssh into remote VMs on my corporate network. I can successfully ssh to VMs. BUT If I leave it unattended for some time, the ssh connection automatically ...
0
votes
0answers
13 views

Quickly connect/swtich to a remote server

I am system admin. I connect to serveral servers in a day. I keep all server details and credentials and raw file and connect by copying and pasting these credentials. I use ohmyshh also. is there an ...
0
votes
0answers
12 views

SSH Hop 3 Times Into a Remote Workspace

I am using VSCode and I was attempting to create a ssh config file which would let me SSH three times into a remote workspace. ssh user@host1 - asks for password ssh host2 - asks for user and ...
0
votes
1answer
25 views

Start detached screen over SSH with bash command

I am attempting to start a screen session in detached mode over SSH that executes a bash command inside screen... #!/bin/bash set -e ssh jlroberts@10.0.0.202 "screen -wipe" sleep 1 ssh ...
0
votes
0answers
22 views

SSH cannot login with root pasword

I have a buildroot system that I cannot log in into with via root, with log in using .ssh/authorized_keys working, but isn't practical since it's a read-only filesystem. How can I enable password-...
0
votes
0answers
22 views

How to run Putty session with Plink from VBA macro

I am trying to automate an ssh session by starting a putty session using plink.exe from a VBA macro. Part of the automation is sending some commands to a linux server. After I run the macro; plink ...
0
votes
1answer
41 views

Connecting to the internet without ssh

I am studying in Germany and renting an apartment in university accommodation. The apartment comes with internet. The internet setup is very unique and maybe just utilized in German student ...

1
2 3 4 5
181