SSH (Secure SHell) is a protocol for running commands on a remote computer.

learn more… | top users | synonyms

0
votes
0answers
14 views

Shell Hangs After Running cd, ls, vim over ssh

I'm logging onto a computer cluster over ssh. The problem is I can't do much more than that. Whenever I run things, eg: vim, cd, ls the cursor just hangs there and nothing else happens. I've heard ...
-2
votes
1answer
35 views

Gather data from 100 AWS servers [on hold]

I have 100 servers running on AWS. I need to easily get how much data each user on the remote systems are using and output it to a text file. How could I best accomplish this?
-2
votes
1answer
21 views

How do I ssh my Mac from another server? [duplicate]

I want to ssh my iMac at home from my MacBook when I'm away, but I can't figure out how to ssh when I'm not on the same local network. I have configured my iMac to accept ssh through the "Remote login"...
1
vote
2answers
31 views

Autocomplete hostnames when using SSH within history file

I'm looking for a feature that help me to autocomplete the servers I "sshed" in sometime and are in my .bash_history file without messing with known_hosts file or /etc/bash_completition, just grab ...
0
votes
0answers
31 views

running iperf over ssh

I'm trying to benchmark the network connection between 2 ubuntu servers on which I don't have root privileges. I did manage to download and start iperf-2.0.9 on both boxes. My problem is I can't ...
3
votes
0answers
23 views

SSH with chroot and only working “sftp”, “rsync” (both)?

I have two users and one shared folder in my Ubuntu server: User writer, which has write access to /var/shared. It's an application regularly making file changes in this folder from remote, with SSH ...
3
votes
0answers
46 views

openSSH login slow for one user but not others

I'm running a server at home with Ubuntu 14.04. I have two users on the machine, say user1 and user2, each able to ssh into the box. While user1 logs in very quickly, user2 takes about 20 seconds to ...
1
vote
1answer
28 views

parallel file copy using tee unexpectedly slow

we're copying a large zfs snapshot (zfs send) from site-1 to site-2. site-1 and site-2 are remote, and are connected via IPsec (read: slow) on site-2, we need the data on two different zfs servers. ...
0
votes
0answers
28 views

How to transparently tunnel a local device to appear from a remote address?

I'm looking for help with a networking problem. Unfortunately I only know the bare minimum in this area and am not even sure I've been using the correct terminology for what I want to do, so I've run ...
0
votes
0answers
87 views

successful ssh login but no prompt

I'm going to connect to my university cluster with ssh. Login is successful but it doesn't show the prompt line, it just shows a blinking coursor. I could connect to ssh before and it was working fine,...
0
votes
1answer
17 views

Unable to download data using curl for loop

I'm trying to download data from the following link export ICTP_DATASITE='http://clima-dods.ictp.it/data/Data/RegCM_Data/EIN15/1990/' These are the codes : for type in "air hgt rhum uwnd vwnd" do ...
0
votes
3answers
35 views

How can I create a virtual serial port that relays data over ssh?

I have a serial port on a remote linux box which I can access over ssh. I would like to create a file (not a real file, maybe a device file or unix domain socket?) which when written to writes to a ...
2
votes
1answer
24 views

Difference in ssh/scp host resolving and network reachability

I've got a virtual machine running on KVM on my localhost. I can ssh into it without problems using hostname (entered in /etc/hosts) or the IP address. With: scp root@remote:/somefile root@localvm:/...
0
votes
0answers
18 views

Echo variables sshpass [duplicate]

I want to do sshpass to a server to get lots of information from it. But as some logic will be involved, I tried to create a variable inside sshpass and echo to the client (first test). It is not ...
0
votes
1answer
29 views

SSH Tunnel “channel x: open failed: connect failed: Connection timed out”

I've Googled and searched far and wide for some sort of "solution" to this problem; however, the best answer I got is "There's nothing that can be done." Of course, that's unsatisfying, so here goes: ...
-1
votes
0answers
19 views

RouterOS can't be installed on KVM hypervisor [closed]

I have installed KVM + Virtualizor on my Dedicated Server. I want to install RouterOS on a virtual machine. To do so, I created a virtual machine and mounted the RouterOS's iso file then started the ...
0
votes
2answers
38 views

Can't SSH (connection refused) [closed]

I'm trying to set up a headless machine running manjaro. I install and enable openssh, and can ssh localhost, but can't ssh by another machine. Plus, if I modify the /etc/ssh/sshd_config I cannot even ...
0
votes
0answers
28 views

Browse remote machine files in Nautilus

I'm running old Debian machine: Distributor ID: Debian Description: Debian GNU/Linux 5.0.2 (lenny) Release: 5.0.2 Codename: lenny And I'm using Nautilus file browser in it: I'm missing "...
-1
votes
1answer
45 views

How can I pass the file names to xargs and truncate them? [closed]

I have to write a script which will ssh into servers and truncate log files My script is #!/bin/bash for server in $(cat c10_servers.txt) do ssh $server " ls /var/log/hello grep -i hello.log. |...
3
votes
1answer
47 views

PAM failing to authenticate sudo, after successfully contacting ssh-agent

Setting up PAM sudo authentication, using ssh-agent, on 14.04.1-Ubuntu server LTS. I'm still unable to successfully authenticate sudo, via the ssh-agent, using PAM. Here are my relevant /var/log/...
0
votes
1answer
42 views

Questions about session keys used in ssh

From SSH handshake process explained http://www.cathaycenturies.com/blog/?p=1635 Key Exchange The client has a public & private key pair. The server has a public & private key pair....
2
votes
1answer
50 views

Submit password with sudo and execute script with nohup

I would like to download and run a script in the background so the task is independent of the shell and its exit. Moreover this script should be run as sudo, using: echo MY_PWD | sudo -u MY_USER -S .....
3
votes
1answer
34 views

Capture output (sdout/stderr) of SSH port forwarder

I would like to store the error below in a variable: ssh -M -S /invalid/path/forwarder.socket -fnNT -Llocalhost:6301:remote_server:22 proxy_server muxserver_listen bind(): No such file or directory ...
-4
votes
2answers
71 views

How do I remotely connect to my iMac from another server? [closed]

I want to ssh my iMac at home from my MacBook when I'm away, but I can't figure out how to ssh when I'm not on the same local network. I have configured my iMac to accept ssh through the "Remote login"...
0
votes
0answers
28 views

Arch Linux - can't ssh into a beaglebone black [closed]

I have a fresh install of arch linux and when I try to ssh into it I get ssh: connect to host 192.168.7.2 port 22: No route to host What am I missing? It's worked in manjaro and other linux ...
1
vote
1answer
44 views

Make an IF condition out of result we get from remote server

I need to check for files availability in remote server, and based on the files availability i need to make an if condition. I have tried the below commands in a shell script to list the files in the ...
0
votes
0answers
13 views

Raspberry pi. Set up WiFi netctl profile with No keyboard and No wired lan connection

I have a raspberry pi 3 and a hdmi tv set up. I have NO keyboard and NO wired lan access. I want to set up a WIFI profile with netctl. I want to create a static IP for the pi. I have another laptop ...
1
vote
0answers
18 views

rsync no matching key exchange found

I am trying to use rsync to send a file to a remote device on my network. I can SSH into the device just fine, but trying to use rsync gives no matching key exchange found. Their offer: diffie-...
4
votes
1answer
29 views

ssh dynamic port forwarding and tcpdump shows cleartext

I'm trying to encrypt my web traffic using SSH dynamic port forwarding in case I happen to be in moot places such as internet cafes, hotels and so on. On my laptop I installed an SSH server and ...
2
votes
1answer
47 views

constant “enter passphrase for public key” by ssh

What could be the reason that ssh < host > is asking for public key password Enter passphrase for key '/home/%d/.ssh/id_rsa.pub': even if provided a good password? I have no problem with ...
-1
votes
0answers
11 views

forward Windows application connection to a unix VPS to bypass port restriction

my campus has blocked all ports except those for webpages 80, 443, but funnily I can access my SSH via putty with port 88888 configured on its sshd. I am wondering if there's a way I can make my ...
-3
votes
0answers
40 views

Can't sftp to raspberry pi using public IP address, can SSH without problem [closed]

I am trying to sftp to a raspberry pi using my public IP address (IPv6) but get a message saying ssh: connect to host 2602 port 22: No route to host Connection closed I have set up port ...
2
votes
1answer
134 views

specify shell for ssh session

I am logging to a remote server via ssh as user www-data. User www-data on the server has his default shell set to /bin/sh, and when I log in, I get dash as my shell. I can then type bash and get bash ...
2
votes
1answer
36 views

How are session keys, public/private keys generated on the ssh server and client and used?

From SSH handshake process explained http://www.cathaycenturies.com/blog/?p=1635 Key Exchange The client has a public & private key pair. The server has a public & private key pair....
1
vote
3answers
39 views

How to SSH via intermediate server [duplicate]

Three server A,B & C. How to ssh connect from A to C via intermediate server B, if A to B & C to B are password less(key)? I encountered this in an interview. Anyone knows how?
0
votes
1answer
13 views

Download with rsync through bastion/jumper, without .ssh/config changes

I'd like to download a file from server C, through server B (bastion) to my local server A. Normally I'd handle the mess in ssh/config with ProxyCommand, but in this case I can't. Can we make a one-...
-1
votes
1answer
58 views

How are public and private keys used in ssh?

Assume I have set up public/private key authentication in ssh. Is it correct that the ssh server possesses the public key but not the private key, while the ssh client possesses both the public and ...
0
votes
0answers
60 views

allow user to ssh

I have a VPS that I am using to run some websites but also want to allow apphosting on this server. So I have installed Meteor in folder on the server and only want to allow access to specific user to ...
-2
votes
1answer
42 views

Write shell script for logging in servers and run command after logging in

I have wrote a shell script for logging into servers and run few commands to start and stop processes running on it, So I tried below code, but it is showing error, please help me with the script. ...
0
votes
0answers
7 views

Why doesn't wpa_supplicant work when using crontab job?

I am writing a script that is installed via a crontab job. The point of the script is to locate a specific AP and connect to it on start up. The script will log its progress to a text file called, "...
1
vote
1answer
21 views

SSH in local network while hosting same network

I have the following setup: Computer A has a Wifi-USB adapter (and is a robot, so it doesn't need real internet access). It's running Ubuntu 14.04. Computer B is my Laptop running Ubuntu 14.04 also. ...
0
votes
1answer
37 views

SSH connect to HOSTNAME port 22: Connection timed out

Using the "SSH Shell Access" in my Cpanel I have added my public and private key in the import key section and I also have authorised them. But I am getting this "Connection timed out" error on port ...
0
votes
0answers
41 views

SFTP compression vs gzip when sending decent number of files

I have a directory that's got a few gigabytes composed of several ten thousands small files. I want to copy them over the network using SFTP. Initial research has proven that compression will reduce ...
0
votes
1answer
37 views

Custom greeting when I log in via ssh

I need to create a custom greeting message on my server when I log in via ssh. Or at least I want to add some information to it. I have none of these files: /etc/ssh/sshd_config, /etc/motd. So how can ...
1
vote
1answer
18 views

how to get /log fS usage in two remote servers

how to trigger mail with below format by getting df -h /log fS usage server1 | server 2 75% | 50% Below are step how i check FS usage manually login to putty ssh server1 give the ...
3
votes
0answers
46 views

Cannot login SSH with key, always asking password

There is a issue confusing me for couple of days. I have 3 Servers. A, B and C. I want access B and C from A via ssh. I have set public key/ authorized_keys ... on A,B,C. Scenario #1: Access B(.133)...
2
votes
1answer
34 views

Duplicity backup via sftp finishes without errors but no files transferred to remote host, why?

I want to use the following command to do a remote backup of /home: duplicity full /home sftp://user@hostname.com/home/user/backup When the command is run I get the following output: Local and ...
3
votes
0answers
40 views

How to pass private ssh key via string, not a file?

I have a text of a private key file. I want to connect via ssh to other node, yet the gateway I am in does not provide me with file system access. How to pass a text representation of key and not a ...
0
votes
1answer
54 views

Repeat SSH Login

I am working on remote machine through SSH. In SSH session, I logged in as root user and doing some work and rebooting it. Every time I reboot the remote machine, my local terminal, from which I had ...