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

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 ...
0
votes
1answer
44 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
27 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
votes
0answers
32 views

What happens when I start an SSH session within tmux and then detach?

What happens (a) on remote and (b) on local when I: start a tmux session login to remote via an SSH connection tmux_prefix + d Does remote simply keep the TTY and network connection open forever (or ...
0
votes
0answers
17 views

Connecting directly to WSL with SSH from another host [on hold]

I would need to use screen to start a process on a windows 10 machine from a linux server. As screen doesnt work on windows, I read about using WSL to do this. So, now I would like to connect (from ...
0
votes
0answers
20 views

Screen alternative on Windows 10 [on hold]

I have a problem. I try to connect (from linux) to a windows host using ssh, and I need something like gnu-screen to create a terminal session, disconnect from it, but keep it alive so later I can ...
0
votes
1answer
15 views

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

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-...
-1
votes
3answers
33 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
0answers
14 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
36 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
23 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
19 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
37 views

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

can someone pls help? im trying to catch/pipe ping response from remote cisco router over ssh: echo "$1" var1=$(ssh user@$1 << "ENDSSH" ping xxx.xxx.xxx.xxx source loopback xx ENDSSH) echo "$...
0
votes
1answer
19 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
23 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
13 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 ...
5
votes
3answers
119 views
+500

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
46 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
16 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
12 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 ...
0
votes
0answers
22 views

Cannot create a directory : Permission denied

I downloaded the qt creator on ubuntu 18.04, and running a application,done with all kit configuration but getting the error "Failed to create remote directories: mkdir: cannot create directory" ...
0
votes
1answer
17 views

SSH remote port forwarding times out

I'm trying to forward all requests to a port on a remote server to a port I have opened on my local dev environment at localhost:5000. I'm using the following command to make this happen, but it ...
0
votes
1answer
9 views

Storing an Externally Generated Private Key on EC2 Linux

We have been given the public & private keys to connect to an external (outside our firewall) WSFTP site. We need to use this/these keys to connect this vendor's WSFTP and pull the data into our ...
0
votes
0answers
31 views

How to launch multiple terminal sessions and ssh to machines based on profiles/scripts in an automated fashion

I would like to launch multiple terminals also ssh to certain machines automatically in linux. Below is my problem I want to solve. I would want to run a script, which has the list of machines {Say ...
0
votes
1answer
51 views

Disable password login in console and SSH allowing only key-based login. User should be able to elevate

I have debian running on virtualbox. There is only 2 users: root and user. I want to completely turn off password based authentication in console and via ssh for both root and user. I want user to ...
0
votes
2answers
32 views

How do I use SSH to connect to a device on a switch?

I have a network setup where a Raspberry Pi is connected to a switch (not a router). I then connect my laptop to the same switch, and I then want to start an SSH session with the Pi. I would also want ...
0
votes
0answers
14 views

A lot of apache processes on a centOS web server

As you can see in the image, all of a sudden many apache processes appear on my CentOS web server... and my websites start giving error 500 or others. The problem disappears when I restart the server. ...
0
votes
0answers
23 views

Process in ssh session is still running even after all screens are killed

I logged via ssh to AWS ubuntu server. Goal was to test run a neverending bash command in background, even after logged out of ssh I created a screen with screen -S myjob command I runned my bash ...
0
votes
1answer
27 views

Permission denied (publickey). Could not read from remote repository

I am using android studio 3.6 and i can't find the SSH executable option when i navigate to file >> settings >> Version Control >> Git. I am getting this error when i try to push a project to github: ...
0
votes
0answers
19 views

how set proxy in windows tunnel my traffic to my android phone

I am trying to establish an ssh tunnel to my android phone from my windows phone. from putty I can do ssh root@android:port2 but on Linux servers there is an option -D from terminal i.e. ssh -D ...
0
votes
0answers
14 views

using putty with sshdroid and psiphon

I am on a Windows 10 machine, I want to ssh into my mobile phone to ssh with sshdroid on it. Psiphon is running on my android mobile. From a Linux machine I am able to do ssh -d 8000 root@...
1
vote
0answers
27 views

How to forward GUI from remote docker container to which I connect via SSH?

I have a MacBook that I use as client machine and connect to remote Ubuntu server where I have a running docker container. In docker container I have an application which use opencv that create an ...
0
votes
0answers
38 views

configure vmware workstation so that virtual machines get IP from wifi router

I am using Vmware workstation 15 on a laptop which is connected to Wifi network. I am having Debian and Ubuntu instances running as virtual machines. The host OS (Windows 10) is having following IP ...
1
vote
2answers
343 views

Accidentally corrupted my ssh_config file on VM and can't log in anymore, can I fix this without logging in?

I am running a VM on my linux server, and I connect to it usually using SSH. I was editing the SSH configurations for this VM to try out different parameters, and last saved edit was not working. Now,...
0
votes
0answers
19 views

vmware network configuration to bring guest OS on same network as host OS

I am using Vmware workstation 15 on a laptop which is connected to Wifi network. I am having Debian and Ubuntu instances running as virtual machines. The host OS is having following IP Connection-...
0
votes
0answers
15 views

Google cloud platform keeps disconnecting

For the past couple of days I've tried to train a model using Google Cloud Platform. I've used screen command which allowed me to run my training even after I disconnect from the machine, but it seems ...
1
vote
1answer
50 views

How do I pass quotes in tectia ssh?

We use windows OS but instead of using built in native ways to connect to remote machines, they installed tectia ssh. So if I want to run commands on a remote machine I have to open cmd and do sshg3 ...
1
vote
0answers
19 views

Forcing ssh to a login using a specific user when requst is made to a specific port

I want to set up a small thing where friends of mine can ssh into my server and join a tiny chatroom. Now I have most of it setup, but I don't know how to make it so that the client username is ...
2
votes
0answers
35 views

New /etc/hosts domain not working when called with SSH from terminal

I am connecting via ssh to a remote server, as follows: ssh user@128.x.x.x The process works fine as I have the password to get into the server I need to work with. I wanted to set a name to the IP ...
1
vote
1answer
34 views

Turned off HTTP access to my router by mistake

I've disabled ICMP and HTTP access by mistake on my router today and I cant access it anymore :( The worst part is that the reset button is broken and I can't reset my router to the factory settings. ...
0
votes
1answer
8 views

SSH Agent Forwarding on AWS NAT Gateway

I know that it's possible to configure SSH Agent forwarding on Bastion Instance and NAT Instance. Is it possible to do this on NAT Gateway as well?
0
votes
1answer
20 views

Run server’s configuration while SSH into one host

I have a server that hosts multiple domains: server FQDN: server.provider.com host 1 FQDN: example.com host 2 FQDN: example.it host 3 FQDN: example.es I like to use FQDN to connect, I don’t want to ...
0
votes
0answers
22 views

SSH indruder trap

I would like to know if anyone has ever implemented a SSH trap. It would be interesting to set up a system where if someone was to port scan my computer they would find my SSH port open(port 22) and ...
0
votes
2answers
27 views

Transparent ssh tunneling

I have an SSH tunnel defined in /etc/ssh/ssh_config. It contains: LocalForward 0.0.0.0:8000 some-service:80 LocalForward 0.0.0.0:8001 some-other-service:80 I would still like to be able to access ...
0
votes
0answers
32 views

WSL: ssh to remote host returns Resource temporarily unavailable

Unable to perform ssh to remote host over WSL: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017 debug1: Reading configuration data /home/xxx/.ssh/config debug1: Reading configuration data /...
0
votes
1answer
18 views

ssh to a new 'vagrant up' doesn't work until after the first time I run vagrant ssh

When I just start up a new vagrant evn. I can't ssh directly into the boxes until I do a vagrant ssh. Then I can ssh directly with out a problem. In the auth logs I see the following errors Sep 5 ...
-1
votes
0answers
42 views

disconnected: no supported authentication methods available (server sent: publickey, gssapi-keyex, gssapi-with-mic )

I am trying to ssh into an ec2 instance using puTTY. But i get the error that I mentioned in the question. I know there are other solutions to this questions but none of them has worked for me so far:...
0
votes
1answer
18 views

Accessing the current remote session using SSH

I have a Raspberry Pi which I use to run a Python script 24/7. I can remotely access it from my Linux laptop using SSH. But connecting to it using ssh <username>:<address> will create a ...
0
votes
2answers
23 views

Linux configuration for Network (Switch/Routers)

I have a requirement where I have to connect to multiple devices connected to different routers with a same switch. Linux: Centos 6.5 Switch: Tp link router as switch Router1: xxx.xxx.1.101 ...