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
1
vote
1answer
38 views

SSH connection between two computers behind nat

I would like to ssh into my friends computer which is behind a NAT from my computer which is behind a different NAT(college wifi). Is there any way this can be achieved?
1
vote
2answers
93 views

Connecting SSH server through chrome (or any browser)

My end goal is to display an index.html (on a browser) which is at the ssh server. I'm a newbie in networking. I'm able to successfully connect the server to the terminal using the command ssh -x ...
1
vote
0answers
23 views

How to authenticate linux machine (Multifactor authentication) using command line?

sshpass is used to authenticate linux machine through command line. Likewise do we have any tool to authenticate linux machine of MFA through command line.
-1
votes
0answers
10 views

SSH does not work when temporarily changing target (runlevel) to multi-user from graphical

I use my ubuntu 18.04 desktop usually in graphical mode. sudo systemctl get-default graphical.target In this mode I am able to ssh to the desktop from other machines on my LAN. When I temporarily ...
2
votes
2answers
145 views

Asus Router share internet connection with USB connected device

I have an Asus RT-AC68U and I have connected to it a Raspberry PI Zero on one of the USB ports. The Raspberry PI has been configured to SSH into it over USB and, connected directly to the computer, I ...
1
vote
0answers
32 views

OpenSSH for Windows ignoring Match User directives

I am usingOpenSSH for Windows 7.7p1 on Windows 1903. I used Match User xxxx in sshd_config file, in Program Data -> SSH to change xxxx's root directory to another path in the filesystem, apart from ...
0
votes
0answers
17 views

I am using Bitvise ssh client, and i want it to start and login automatically

I know, there is a similar thread, and I have read it through. I have already set up my 2 connections, and they work flawlessly. But the problem lays in the login part. I have tried twice to set ...
0
votes
1answer
25 views

Ssh authentication works, but git clone doesn't

I am on Windows 10 and I'm really confused why I can't clone a repo from bitbucket. I generated a keypair and added the public key to my bitbucket account, added the private key to the ssh-agent. ssh-...
1
vote
1answer
30 views

How to monitor remote user logged by ssh and watch what do in my linux machine

I want to monitor what a remote user (whom logged by ssh) do in his terminal in my linux machine. The w command just show who logged and what he did, however I am interested to watch his activity in ...
0
votes
0answers
6 views

How to log in the server remotely by X2go?

I can log in the server by X2go when PC and Linux server are in the same LAN. But when I go outside, not in the LAN, it could not work. I tried to use the public IP of server to set in the x2go , ...
0
votes
1answer
18 views

pscp “Cannot open file”

I am trying to deploy the files in my web application to the server using the pscp tool. It works for all the files in the directory, except sqlite (.db) file. For the sqlite file, it throws this ...
0
votes
0answers
16 views

Could not ping ubuntu18.04 from other pc every some time

I have a strange issue for my ubuntu18.04. Every some time, when I try to ping or ssh to this ubuntu 18.04 from other pc, it will not be able to accessed. When I log into this ubuntu from a monitor ...
0
votes
1answer
30 views

NGINX reverse proxy ssh to multiple hosts

Using NGINX I have multiple reverse proxies that work with normal http(s) for various websites. I have just one public ip address but several vhosts behind it. This part is working as it should. I ...
0
votes
0answers
18 views

opening jupyter notebook on remote computer using mobaxterm

I am trying to open jupyter notebook on my laptop by accessing my server through mobaxterm. when I type jupyter notebook into the mobaxterm terminal jupyter notebook opens on my server computer. I ...
1
vote
0answers
36 views

ssh: connect to host port 22: Connection timed out

I'm trying to connect to my university server from home on my Linux Mint 18.3 using ssh. I have set up a VPN that the school recommended, it says it's connected. I am using the command ssh username@...
1
vote
0answers
51 views

How to make systemd start ssh.service before generated crypttab units

I have a server, running Debian Buster, whose root filesystem is not encrypted, but other drives are. [ETA: All of the OS system directories (/var, /home, /etc, etc) are in the unencrypted root ...
0
votes
1answer
36 views

send folder via ssh then compress and send it back

I need to send folder with eml files from "A" to "B", then compress them with 7z and send back to "A" what i have is ssh user@server "tar -cf - .folder" | 7z a -si compressed_folder.7z but it makes ...
0
votes
1answer
38 views

How to remove/ignore a known host when trying to ssh without write access to the known-hosts file (or sudo)

I’m a non-sudo user trying to ssh into another server. When I do, it complains that the host key and IP address for the host has changed according to the known_hosts file (and indeed it has). ...
0
votes
1answer
48 views

ssh X11 forwarding from multiple clients simultaneously always opens openoffice windows on the same screen - bug or feature?

Situation: Three "computers": A. a desktop with its own display B. a virtual machine on A (kvm) C. a small PC with its own display I generally work on A, ssh -Y to B from A, work with firefox --...
1
vote
1answer
50 views

Putty SSH Tunnel Portforwarding not working with remote MongDB database

I'm having trouble connecting to a remote database server. I'm on a Windows 10 client and can successfully connect to my Ubuntu 16 server with putty over SSH, including with a keypair. Now I have a ...
0
votes
0answers
16 views

DDNS SSH Connection to OSMC r-pi not working

I have a Raspberry Pi running OSMC and have set up DDNS through http://freedns.afraid.org. I am able to SSH on my local network, and ping the domain I have set from outside the network. However, I am ...
0
votes
0answers
20 views

How to set up ssh tunnel for web surfing

i have task Use SSH to proxy out your web surfing through your Kali host. i set up plink.exe on windows vm and openssh server on my kali host, how tunnel connection?
0
votes
0answers
36 views

OpenSSH for Windows denies public key login with AD user

On aWindows 10, v 1903 system, I am running v 8.0.0.0 of OpenSSH for Windows and trying to connect to it, using public key, from a remote location Username and password authentication works fine. ...
1
vote
1answer
51 views

Can SSH(SFTP) server have multiple fingerprints?

I am creating automated SFTP-client with Java and I need of course to save the server SSH fingerprint for each server but is it possible that the server has two or more unique fingerprints? Is it ...
-1
votes
1answer
26 views

SSH keys should be generated with email or without email? [duplicate]

Tried to google for this basic query related to SSH key generation, but didn't get expected answer https://www.keycdn.com/support/create-ssh-key, https://www.digitalocean.com/community/tutorials/ssh-...
0
votes
0answers
26 views

Connection to SSH server intermittently extremely slow/times out

I have two machines on a LAN; one runs Lubuntu 18.04 (call it the "server"), another one runs Devuan Beowulf (~= Debian Buster; call it the "client"). The server machine runs an SSH service on port ...
0
votes
0answers
22 views

Trying to scp .png, .jpg files resulting in broken pipe error

I am trying to scp images to use for my website. When I try to scp these files I get an error saying "Broken pipe lost connection". The file downloads 100% but then crashes. Are you not able to ...
1
vote
1answer
39 views

Command to disable password login via ssh?

So, I am aware I can disable password authentication via ssh by modifying /etc/ssh/sshd_config by changing PasswordAuthentication Yes to PasswordAuthentication no. I want to ensure ssh logins can only ...
0
votes
0answers
33 views

Using a specific port to use Remote Linux (SSH) for Intel VTune

I've installed Intel VTune on my windows laptop yesterday and I want to connect to a Linux Docker on port 2222 instead of port 22 which seems to be the default port used. To do that, I have put ''-p ...
0
votes
0answers
19 views

Bash is swallowing up C-h, C-j, C-k, and C-l

I discovered this problem when trying to map C-h ... C-l to move between panes in Tmux. When I pressed the keys, nothing gets transmitted to Tmux. This is on an Ubuntu 14.04 VM with Bash 4.3.11. I am ...
0
votes
4answers
75 views

cannot escape space in scp command in a while loop

I'm trying to build a script to make a mirror-backup of a free ESXi 6.5 to another free ESXi 6.5 host. I'm almost there but this issue is driving me crazy. This is a part of the script; I am using ...
0
votes
0answers
4 views

Apache Ambari: spark user management for ssh access to the cluster

I just finished setting up an apache hdfs/spark cluster for my org. I am still not very clear with user administration who can make use of the cluster for workloads. When I directly run spark-shell on ...
0
votes
1answer
30 views

Avoid SSH identity conflicts when dual booting on the same IP address

I've got a home server that I dual boot with a Debian installation and a media center PC. I've setup an SSH server both. I've setup public key authentication to the Debian server based on IP When I ...
0
votes
0answers
14 views

SSH connection SQLPRO Digitalocean

I generated a key ssh with and added it in forge laravel. But when I try to connect to with sqlpro I get this message: Used command: /usr/bin/ssh -v -N -S none -o ControlMaster=no -o ...
0
votes
2answers
39 views

SSH takes ~2 minutes to connect

I made some changes to my firewall (blocking outside dns and forcing it through my dns server), and I think that may be related to why it takes a minute to connect to user@192.168.1.2? See output -vvv ...
1
vote
0answers
122 views

Set PATH when SSH into MacOS

My problem is $ ssh localhost fswatch bash: fswatch: command not found when without SSH command (i.e. fswatch) works fine. I found that PATH in SSH session is default Mac's $ ssh ...
0
votes
1answer
40 views

Remote access to server

I am new to the networking environment and I am trying to log into a Linux system with a SSH client on a Mac but I an having trouble. I found the terminal and clicked on it and a bash 80 times 24 ...
0
votes
1answer
28 views

Networkfolder using ssh-rsa2

I want to configure my raspberry to allow authentication only with public key crypto to make it more secure and make ssh-ing easier. However, my network folder on the Windows 10 machine I want to ssh ...
0
votes
0answers
16 views

WSL not connecting to a particular server

So I'm trying to SSH into my student Web Server given to us by our university through the WSL Ubuntu Terminal. However, every time I try to ssh in, it gives me an error saying ssh: connect to host web....
0
votes
0answers
16 views

what should I do to enable “get-windowscapability -online” command in windows powershell?

Recetly I'm trying to start remote development,so I find some guidence online ,rented a sever.One of these guidences told me to use the windows powershell to install the SSH client with tying in such ...
0
votes
0answers
48 views

How to find remote login address from terminal

I use scp to copy files from a remote (Linux) computer to my local machine (Mac OS Mojave). I have "Remote Login" enabled on my Mac. In the "Sharing" section of System Preferences, where I enabled "...
0
votes
0answers
15 views

Login to remote Linux box and execute commands [closed]

To delete all but 2 of the latest files in a dir running on a remote Linux box I use : cd /data ls -1tr | head -n -2 | xargs -d '\n' rm -f -- I execute these commands manually after logging into ...
2
votes
1answer
23 views

Connecting to Server on remote through port fails due to dynamic random port

I am trying to connect to a supercomputer through ssh and port forwarding. The application is a C++ both server and client. Here is the port data : // default values server_address = "localhost"; ...
0
votes
0answers
17 views

ssh fails to load with exit-code error

For weeks my Ubuntu server was working properly. After running out of ram during running a simple script, I can no longer reach my remote server. The error is the following: Systemd-modules-load....
0
votes
1answer
32 views

How to convert Mobaxterm Session to SSH config format or YAML/JSON?

I am using Mobaxterm and having a lot of session so I can't manually convert all of them to SSH config format which look like this Mobaxterm K8s-TEST - [127.0.0.1]=#109#0%127.0.0.1%22%tinnd%%-1%-1%%%...
0
votes
2answers
39 views

How to check whether a port is opened on server or not?

I have been using Shared hosting to host my website. I want to deploy a PHP WebSocket application built using Ratchet PHP. So I want it to listen on port 9000. When I ran command php server.php in my ...
3
votes
1answer
36 views

Tab completion closes SSH connection

I am using SSH connection to log into my Raspberry Pi. I used tab completion over SSH before and that worked perfectly. But now I am getting the "connection closed" message whenever I try to use tab ...
0
votes
1answer
43 views

How to setup a VNC server on Windows 10 and secure with SSH?

I need to use OpenGL on a remote Win 10 computer so can't use RDP. I also need a secure connection so VNC over SSH looks like a good solution. So far I've installed and configured OpenSSH and ...
0
votes
0answers
50 views

ssh into Linux VM on Windows 10 with PowerShell Direct

How can I connect to a Linux VM on Windows 10 using PowerShell Direct? I have seen Thomas Maurer's blog that explains how to ssh into Linux VM running on Windows 10 with PowerShell Direct. When I ...
0
votes
1answer
19 views

Can my local ssh config show a message when accessing a particular host?

I am setting up a few SSH config entries for some new hosts. These hosts use a different credential than most of the other hosts in the environment. For various reasons keys are not an option here. ...