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

learn more… | top users | synonyms

3
votes
0answers
24 views

How can I know which IP address of a host is reachable from another?

I don't particularly need a "solution" to something, I'd just like to understand more of the landscape here. So on my CentOS box, I installed a CentOS VM specifically for learning Puppet. When the ...
2
votes
1answer
27 views

Inside a bash script doing an ssh, automatically add the host only for certain known RSA keys

I have a Chron job running a bash script that then SSH's to a my server. But my server's IP address changes from time to time (my bash script has a way of finding looking up the new IP address). But ...
1
vote
2answers
110 views

Get rid of abandoned SSH processes

I have a Linux machine running dropbear as its SSH server. I open many SSH sessions from a client towards that machine, meanwhile the sessions are active I pull out the Ethernet cable from the server ...
2
votes
1answer
46 views

What Command Line tools to connect from Unix to remote Windows?

I need to make some scripts for connecting from a Unix server to several Windows stations for automating file transfers. GUI is not needed and I can't install any additional software into Windows ...
0
votes
1answer
24 views

Circumvent deletion of screen session and nohup processes on logout

Everywhere I look I see that screen is for keeping a session open so that you can come back to it after disconnection. But this doesn't seem to be the case for a system that I ssh to. Do I ...
1
vote
0answers
15 views

How to programmatically change a password on an IPSwitch server using a Linux client?

One of my companies customers runs an IPSwitch sftp server, and they have disallowed public key authentication, and require us to change our password every 90 days. The problem is that, I cannot see ...
1
vote
1answer
22 views

Issue with resize and stty on remote ssh script?

Scenario: Source host (Solaris 5.10, KSH), im trying to run the following script named sample.ksh on source #!/bin/ksh set -x Rediscover () { ssh user@hostB ./scripts/test.ksh } Rediscover exit 0 ...
1
vote
0answers
23 views

SSH over IPvanish

Hello I have been trying already for several days to access my tiny server via ssh with openVPN. Everything works fine without the VPN. I have tried all that you can find on forums...add an ip rule ...
-2
votes
0answers
39 views

Script for logging in to multiple servers and running some commands [on hold]

I have a list of host/server names in a text file. I want to log in to each host using SSH and run certain commands. I'm using password authentication. When ssh'ing to another server, how to handle ...
0
votes
0answers
19 views

respawn with arguments and tty3 without root?

Please bear with me as I am not a Linux guy. I am trying to start a application to run in a terminal that I can ssh in and conspy to see the activity and also respawn if there is a crash. I have a ...
0
votes
0answers
18 views

How To Install and Configure ImageMagick for PHP and Wordpres on Amazon Linux AMI

I've installed a fresh Wordpress site on my Amazon Linux AMI following the setup instructions listed on the EC2 Tutorials section i.e. "Hosting a WordPress Blog with Amazon Linux". I'm also using the ...
0
votes
1answer
38 views

Auto login to SSH without keys? [duplicate]

I am looking for a way to ssh to a machine, without using SSH keys. When I try to pass the password echo "password" | ssh user@machine It just gives me an stdin error How do I SSH without ...
1
vote
0answers
25 views

cygwin ssh not working

I installed cygwin on Windows 7 and trying to test SSH to local host but getting the connection refused and stdin is not a terminal error: Here is the detailed log: $ ssh -vvv localhost ...
3
votes
1answer
22 views

Locate and manage files on extern hard drive through FileZilla over SSH

I have installed Debian Server on one of my servers and plugged in a extern hard drive to it through USB (sdb1, 2, and 5 on the image below) where I have all my files on right now. Before I used this ...
2
votes
0answers
15 views

Playing remote audio files over SSH [duplicate]

I am connected to a machine via SSH and I often need to listen to WAV files on that machine. I usually open another terminal window and do ssh host 'cat /path/to/sound.wav' | aplay, but that's tedious ...
1
vote
2answers
19 views

Forward ssh for git user to git server

It is surprisingly difficult to find information on this simple problem. Like many people we run a gitlabs/gogs server on a remote instance. Currently it listens on port 10022. We also run ssh on ...
1
vote
1answer
20 views

ssh_config: Add a host section that matches IPs even when connecting via hostname

I want a host section in my ssh config that matches any local IP: Host 10.* 192.168.*.* 172.31.* 172.30.* 172.2?.* 172.1?.* setting setting ... This works as long as I connect directly to a ...
0
votes
0answers
10 views

Can I make entering my private key's password work like sudo does? [duplicate]

Is there a way to skip typing my SSH private key's password if I have used it recently, similar to when sudo caches your credentials for a limited time? I know that I can use ssh-add with the -t ...
0
votes
1answer
16 views

How to add public key to QCOW2 image via virt-sysprep

I am trying to add my public key to the root account on a qcow2 disk image (CentOS 7 Cloud Image). The documentation from virt-sysprep says that it supports adding keys, but I cannot seem to ...
0
votes
1answer
25 views

ssh RPi from PC - How to share internet connection?

I have Raspberry Pi connected with PC on eth0 port. I am using eth0 to ssh RPi. I have web application on RPi that requires Internet access. Now, I set static ip to RPi (192.168.1.50) and to PC ...
0
votes
2answers
16 views

Using Screens with a PHP Script

I found an external developer to make me a PHP script to 'snipe' Mineraft usernames. In order for it to operate, I have to start the script from the command line using this: php -f sniper.php > ...
-1
votes
0answers
10 views

How to post to my staging environment [on hold]

I have a Hypernode server running and need to connect to it with Shell. This is all fine but at the moment I want to run a Magento Security patch on it. I need to run it on my staging part and not ...
1
vote
2answers
49 views

large mounts of emails being sent from server unable to identify [closed]

I have a bit of a dilemma, I'm not sure how to solve. I have found coming from a folder on my server massive amounts of emails, but when I look in the folder, no single php file is sending that amount ...
3
votes
1answer
40 views

Please explain the output of ssh control command ~#

I'm trying to figure out why it is that ssh hangs on exit if, and only if, I login with the -X option and run X11 programs. I found a thread on Google groups which hints to the problem. The ...
0
votes
0answers
25 views

Can't ssh without password to ubuntu machines on a shared filesystem, while it is successful on RHEL machines [closed]

I am running on a cluster, where my home directory is shared to all machines. Some of the machines are RHEL and the others are Ubuntu. When I login without password from RHEL->RHEL or UBUNTU->RHEL it ...
1
vote
0answers
36 views
+50

Lost Folders and Files in the directory /home/ubuntu/ in Ubuntu

I have uploaded a .tar file in /home/ubuntu/ and un-zipped the file in the folder name 'analytics'. After reboot, I couldn't found the directory and the tar files. I have checked it through SSH ...
0
votes
1answer
41 views

Cannot ssh using PuTTy with a valid username and password. How to make sure server and the PuTTy keyboard / terminals are same? Other issues?

Novice here looking for a solution... Problem: Cannot ssh into a ubuntu 14.01 server (tried using PuTTY and RoyalTS) from a Windows 8.1 laptop. The terminal window comes up with prompt for the ...
1
vote
1answer
26 views

Push/Pull files among Unix machines with private key on Windows

I am operating across three systems: A remote Unix machine (let's call it Unix1), which stores some files A local Windows machine (let's call it win1), which stores the private key to Unix1 A ...
0
votes
1answer
27 views

Make sshd override login shell of a group of users

My users are shared across a number of machines via LDAP. For one of those machines (let's call it 'fileserf'), I would like to restrict some users in what they can do (actually: prevent them from ...
2
votes
2answers
61 views

Hide where I'm sshing to?

I'm connected to a public FreeBSD system, and I want to be able to connect to other servers without disclosing (via w and alike) where I'm connecting to, how can I achieve this?
1
vote
3answers
27 views

Understanding, and viewing, how ports are allocated by ssh tunnels?

I was trying to figure out a small problem with connecting to vnc through an SSH tunnel today where one of the possible issues was that someone else was already tunneled to the port. Without going ...
1
vote
1answer
32 views

How to clear SSH keys from script run as root?

I want to configure my laptop to clear all my SSH keys from the authentication agent when I close the lid of my laptop. Clearing the keys can be done by running ssh-add -D. Running a script when ...
3
votes
2answers
31 views

SSH Connection - Interact with ongoing process

If i open a Terminal window on my desktop and start a job on it and go to work in the morning. Is there a way to connect to the desktop with SSH and interact with the ongoing process in the Terminal ...
0
votes
0answers
18 views

How to execute shell script in remote windows machine [duplicate]

I have a shell script which will be useful to download the jars from ftp and copy it in a particular location and do some deployment stuffs.. I need to run the script in remote Linux and windows ...
0
votes
0answers
19 views

Proxying SSH over an SSH Tunnel

The plan is to create an SSH tunnel from ServerA to ServerB, Server A ---- SSH TUNNEL (tcp/22) -----> Server B -----> ServerFarm I then want to send SSH connections to my server farm over ...
1
vote
1answer
36 views

Upload large file to Sourceforge

I just make a project in sourceforge and I want to upload some file to my project page with 1.5GB size, but I can't do this with normal way because it's allow me to upload files with 1GB size. How ...
-1
votes
2answers
54 views

Disallow ssh on domain names

There are certain domains pointing to my server. # example.com example.com goes to 20.20.20.20 I want to deny ssh access using this domain names. I want my server to only accept ssh connections on ...
1
vote
1answer
44 views

ssh Connection reset by 192.168.x.x

I'm trying to ssh login from Mac OSX 10.10 into CentOS 7.1 on boot2docker by using public key authentication. The problem is that ssh shows Connection reset by 192.168.99.100 when I login to CentOs ...
0
votes
0answers
33 views

packet_write_wait Broken pipe even leaving top running?

This bloody error makes my headache going bigger and bigger everyday. I never met a same situation like this time. Well, after I authenticated into SSH successfully, doing few stuffs then my SSH ...
0
votes
0answers
17 views

ssh -f, running remote startkde, does not exit. Why?

I hope that someone already knows the answer to this, because I fear that trying to unravel the startkde shell script, and the subtleties of ssh -f is going to be ugly. I am opening a remote desktop ...
2
votes
2answers
33 views

Keep an SSH connection persistent through waking and suspending of computer

Here are my informations: I have an SSH connection I use as a SOCKS5 proxy. It's annoying to have to reinitialize it everytime I wake-upon-computer. I've set ServerAliveInterval to 60 in ...
0
votes
4answers
34 views

Run multiple piped grep commands from a list in bash

As part of my security job, I analyze dozens of Google Chrome history files each day using sqlite3 over SSH. There are a few dozen authorized "safe" sites each user is allowed to navigate to. For my ...
1
vote
1answer
47 views

How to write a script to log in multiple server using for loop and ssh?

I want to write a script using a for loop and ssh, to log in several server. After logging in using awk command I want to get 7th column printed as output. I tried the script below but couldn't ...
3
votes
1answer
26 views

key_read: type mismatch: encoding error

Seeing very strange error on newly install CentOS7, I didn't create or touch any ssh-key. ~/.ssh/ directory is also empty. [john@server1 ~]$ ssh server1 key_read: type mismatch: encoding error ...
0
votes
0answers
32 views

Different ways to use my cloud virtual machine lead to different interface languages

I use qcloud(a cloud service in China) to run a CentOS 7. In the qlcoud webpage panel, I can use the vnc way to check out my machine. In my own Mac, I can use the ssh to log into my machine. ...
1
vote
0answers
16 views

update-initramfs failing after upgrading to stretch from jessie

I recently updated one of my Debian boxes to run with stretch, but unfortunately I run in an issue when it comes to the regeneration of the initramfs image. It seems that it doesn't recognize that I ...
1
vote
0answers
34 views

ssh cannot open remote window, Segmentation fault (core dumped)

Actually, the remote window can be opened, but only for a short time. I mean it is OK to open the remote window when ssh connected, but the remote window cannot be opened later, for example after 30 ...
0
votes
1answer
34 views

How can I upload my .cpp file online while logged into schools Linux server through SSH?

I am currently in a basic programming class, and I finished my first project and it is a .cpp file. I am logged into the Linux server but I do not know how to upload a .cpp file online when I can only ...
-1
votes
1answer
21 views

find one difference…(or more) [closed]

I have two servers (debian). Almost identical. I want to use SSH AgentForwarding. I try to login from A to B and from B to A: On user@A: set | grep SSH SSH_AUTH_SOCK=/tmp/ssh-uEsiAIsssn/agent.1234 ...
0
votes
1answer
35 views

How do I set up passwordless authentication with non-root users?

Using two CentOS 7 servers, I set up passwordless authentication with root users. It works fine. I tried to use the same method (with .pub and authorized_key files) with other local users. But these ...