Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
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
24 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
41 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
55 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
27 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
25 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
1answer
32 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
76 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
34 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
15 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
46 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
127 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
17 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
49 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 "...
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
18 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
35 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
40 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
37 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
53 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
54 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
20 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. ...
0
votes
2answers
40 views

Command works locally but returns “event not found” when invoked with ssh

I want to check for read only file systems. I wrote this awk command and it works fine: awk '{ if ( $4 ~ /ro,/ && $2 !~ /sys/ ) {print $2} }' /proc/mounts I want to use this command with ssh....
1
vote
1answer
28 views

How can one test their 1gbps server connection via ssh?

My ubuntu server has a 1gbps connection. How can I test this connection via ssh terminal?
0
votes
0answers
16 views

Password protected key based ssh login via automated script

As per the title. I run an automated certbot command on my home server to update my letsencypt certificates for a few services I access via a domain I own on random ports. I used to have an old D-...
0
votes
1answer
40 views

Vagrant SSH's fine but Ansible is unable to ping (it's unable to SSH)

Here is my Vagrantfile. $ cat Vagrantfile # -*- mode: ruby -*- # vi: set ft=ruby : # All Vagrant configuration is done below. The "2" in Vagrant.configure # configures the configuration version (we ...
-1
votes
1answer
70 views

How do I setup ftp/sftp on google cloud?

I want to give a user remote access to files in gcs via sftp. I am thinking of doing this by granting access to a folder hosted on a google compute engine vm instance (basically want to setup an ftp ...
1
vote
1answer
50 views

Windows Powershell: How to add server's public ssh key

My system admin created a new droplet on digital ocean, and provided me with root username and password and a public key txt file. when i try to access: PS C:\Users\Simou> ssh root@x.x.x.217 I ...
1
vote
1answer
32 views

Pageant - reports error “can't open file” but loads keys anyway

I'm using Pageant 0.70 to load keys on Windows 10 via a PowerShell script: profile-file.ps1 $pageant-path = "c:\full-path-to-pageant.exe" $keypath1 = c:\full-path-to-key1 $keypath2 = c:\full-path-to-...
-1
votes
3answers
37 views

Do not let me enter the server with the private key

I launch my command from cmd: putty -load 192.168.1.200 -i C:\Users\Administrador\Desktop\id_rsa.ppk" .ssh: total 12 -rwx------ 1 root root 400 sep 13 14:00 authorized_keys -rwx------ 1 root root ...
0
votes
1answer
38 views

SSH service wrong

**My Server Operation System is Ubuntu 16.04(LTS), Once I use apt to install some software,It shows the ssh service is wrong. When I according the instruction '''systemctl status ssh.service''' ...
1
vote
0answers
83 views

PuTTY - SSH passphrase not being accepted

This is more of a headscratcher than an actual problem. I've created a public/private RSA key pair with Puttygen on Windows 10 and added the public key to an OpenSSH server on Ubuntu. If I attempt ...
0
votes
0answers
41 views

How to open telnet/ssh to Dlink DSL-225 router?

have D-link DSL 225 router that locate at 192.168.1.1 , with nmap I get PORT STATE SERVICE 21/tcp open ftp 22/tcp open ssh 23/tcp open telnet 80/tcp open http 631/tcp open ipp when I ...
0
votes
1answer
20 views

SSH connection via intermediate hosts with keys

I read several versions of this question and try to implement them but they did not work so I want to ask my problem with specific details. Host A: Local Computer Host B: Intermediate computer ( I ...
0
votes
0answers
105 views

bash script remote ssh ping on unit (cisco) results with half response

can someone help please? I'm trying to catch/pipe ping response from remote cisco router over ssh (see script). Everything works well but only at ping the pipe brokes at first "!" ping response from ...
0
votes
1answer
23 views

Problems with remote rsync

I have trouble using rsync to backup my local home folder to a remote server (chh2). When I type the following command: rsync -v -e ssh /home/* chh2@192.168.1.67:~/Documents/chh1_backup I get the ...
0
votes
0answers
39 views

Can't ssh from macbook pro to CentOS installed on a VirtualBox

After executing: ssh demo@localhost -p 10022 -v      The trace looks like this: OpenSSH_7.9p1, LibreSSL 2.7.3 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config ...
1
vote
0answers
16 views

How do I run a .bat file in powershell with nested .bat files?

I am currently remoting into a computer through SSH and need to start up a process that will not close when the SSH connection has been closed. For this I am using the cmdlet Invoke-WmiProcess. But I ...
9
votes
6answers
377 views

Allowing automatic command execution as root on Linux using SSH

What is a good setup that allows automatic execution of a command or a script on a remote server with root privileges using SSH? I'm aware (only vaguely for some the options) of the following options:...
0
votes
1answer
64 views

Ubuntu ssh shell access becomes irresponsive after unattended for a while

I installed Ubuntu 16.04.6 on my server which runs 10+ sites using virtualmin/webmin setup. When I ssh to root or a sudo user it works just well. But if the terminal is unattended for a while, the ...
0
votes
0answers
31 views

Sending data to the bashrc of a remote host when connecting

I have a system on a remote server that maintains context and tmux sessions since I frequently lose connection on my laptop due to workflow. The current script restores a tmux session on connection, ...
0
votes
0answers
23 views

Why is Mobaxterm not copying all my lines in my clipboard?

I have trouble copying the lines i have in my clipboard into Mobaxterm (In a VI file with Unix) since it is not copying all my lines, only certain amount and may cut a line in half at the end
0
votes
0answers
10 views

Live Optical flow for frames shown in screen

Let me be more specific. When I connect via ssh to my server in my network, the gui of the server (runs on ubuntu) is displayed on my pc monitor at about 12 fps. Its laggy and annoying. However the ...