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

learn more… | top users | synonyms

0
votes
0answers
6 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 ...
-1
votes
0answers
6 views

How to post to my staging environment

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 ...
0
votes
2answers
21 views

php script sending spam emails [on hold]

i have a bit of a dilema, im 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 sinngle php file is sending that amount ...
1
vote
1answer
34 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
20 views

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

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
18 views

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
39 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
22 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
26 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
59 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
24 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
31 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
30 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
18 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
35 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
50 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
40 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
23 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
16 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
30 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
33 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
44 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
23 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
13 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
30 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
31 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
20 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 ...
1
vote
1answer
45 views

Clean install of Debian 8.3 missing PermitRootLogin in ssh_config (can't ssh root login)

I just installed a new vm of Debian from a netinst ISO, everything went fine. But when I went into /etc/ssh/ssh_config to change the PermitRootLogin setting to yes, it wasn't there, so I added it, ...
0
votes
1answer
32 views

Setup GUI via ssh

I can connect to my universitys server, where I have a virtual machine running on Debian 8.3 (as far as I can see, no additional software is installed yet). I have admin rights and can install new ...
0
votes
0answers
19 views

Will exiting SSH session cancel CP? [duplicate]

I have SSHed onto a CentOS server and initiated a CP from one directory on the server, to another directory on the server. If I exit my session, will the CP cancel? If so, is there a way to exit the ...
1
vote
1answer
24 views

Linux TOTP vs SSH Keys

I am in the middle of a security upgrade task and have been reading a lot of articles around SSH security. I have a question around what is the better method of securing SSH by using SSH Keys or TOTP? ...
3
votes
2answers
70 views

Can I concatenate a bash alias?

Sample : to use Composer locally, I must write : php composer.phar After some locals installation of Composer, I want to alias it only "composer" but keeping absolute path with "pwd" command. I ...
0
votes
0answers
18 views

Getting utf-8 support in screen via ssh

If I ssh from iTerm2 on my macbook to my vps and then run the command screen -r irc, which is running weechat, utf-8 works properly. :) However, I’ve set up an alias for this on my mac: $ alias | ...
4
votes
2answers
86 views

Debian Lenny Server Compromised - No Sign Of Intrusion Point?

I have a server, it's outdated running Debian Lenny, and yes I know that is probably half the problem. It also has PHPMyAdmin and ProFTPd. Again, I get it, all bad signs. But for the life of me, I ...
1
vote
0answers
24 views

SSH/web servers in Linux containers improve security?

Scenario: A 'gateway' machine functioning as a router and firewall, connecting a small LAN to the internet. The machine also runs a webserver (hosting a simple website) and an SSH server, providing ...
2
votes
1answer
39 views

SSH: display warning when using (deprecated) ssh-dss key

With the 7.0 release, OpenSSH disabled ssh-dss keys. The not-so-recommended workaround is to explicitly re-add DSA key support to .ssh/config, which will eventually be dropped by a later OpenSSH ...
2
votes
0answers
31 views

MOTD not displayed after installing openssh from source

On Debian Wheezy the default openssh server package displays the motd from /etc/motd. When i compile it from source (openssh-6.0p1) it won't display the motd anymore after an ssh login. Configure ...
0
votes
0answers
13 views

How do I get a manifest to run from my Puppet Master server to a Puppet Agent node?

I am trying to run a Puppet manifest for the first time on two new servers. But I keep getting errors. I recently set up two CentOS v7 servers. They have passwordless SSH between them. Ports 22, ...
0
votes
1answer
33 views

SSH server accepts key ONLY if user is logged in (on server) [duplicate]

I can connect to my server using (id_rsa) key WHEN the local account on the server is logged in. If I reboot server and leave it at the login manager,and then attempt to connect, SSH returns ...
1
vote
0answers
17 views

Can I change owner of a tunnel after creating it?

I've been trying to finagle pytun to do my bidding in creating persistent ssh tunnels, but I very much do not want these to be owned by root and unless I modify the python package myself (which as a ...
0
votes
0answers
31 views

Is it possible to ssh and execute a remote command with a single quote in it? [duplicate]

ssh user@host "mv \"/some/path/fi\'le.txt\" /some/new/path" It doesn't matter what I do, or what combination of quotes I use on the file, it gives the following: bash: -c: line 0: unexpected EOF ...
0
votes
1answer
58 views

SSH Key Permissions Chmod settings?

I need to use SSH on my machine to access my website and its databases (setting up a symbolic link- but I digress). Following problem: I enter the command: ssh-keygen -t dsa To generate ...
0
votes
0answers
12 views

SSH Permissions in Linux Mint [duplicate]

I need to use SSH on my machine to access my website and its databases (setting up a symbolic link- but I digress). Following problem: I enter the command ssh-keygen -t dsa To generate ...
1
vote
3answers
110 views

How to force ssh connection to exit at end of script

I have a script which is composed of two parts. part1 creates an ssh connection, part2 runs a script (about 800 lines and counting so far). part1: ssh $target_server "bash -s" < $target_script ...
1
vote
2answers
38 views

Pass Array to SSH Connection

How can I pass an array across the ssh connection. I have an array formed thus: declare -a target_array=( "item1 -p12345 -r" "item2 -p65677 -e" ) I then need to pass it to an ssh ...
0
votes
0answers
30 views

Connect to a pc which is in external network using ssh [duplicate]

I want to connect a PC which is in an local network with IP 10.1.10.25 while the IP address of router is 68.10.25.24 This PC is far away from me. How can I connect to that PC from my terminal using ...
0
votes
1answer
52 views

How to create a ssh for more than one linux server?

updated* I have two Linux servers CentOS 7 & Debian 6 running a vulnerable web app inside virtual Box, my host OS is Kali Linux & connected to both VM'S with Host -only -adapter settings. i ...