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

learn more… | top users | synonyms

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 ...
3
votes
1answer
33 views

Cannot tunnel over ssh without command/getting shell [duplicate]

I would like using ssh tunneling options. For that purpose I use command: ssh -L 1234:localhost:5678 host however this logs me into the shell on remote host. Next I tried -f as: ssh -f -L 8999:...
0
votes
1answer
48 views

Way to test ssh connection

To test ssh connection, https://help.github.com/articles/testing-your-ssh-connection/ says ssh -T git@github.com # Attempts to ssh to GitHub the manpage of ssh says -T Disable pseudo-tty ...
0
votes
2answers
22 views

what does it mean by email address as label generating pubic/private rsa key pair?

In https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/#platform-linux ssh-keygen -t rsa -b 4096 -C "your_email@example.com" # Creates a new ssh key, using the ...
0
votes
0answers
31 views

How I can directly login to rails console through ssh?

Time to time I repeat the following commands: ssh username@servername cd /projects/rails_project bundle exec rails c production I want to create a shell script, and make alias for this file for run ...
2
votes
1answer
30 views

How do I discard unwanted fail messages from an ssh command?

I'm trying to avoid printing messages to the console received when a lun is not found during an ssh command. SSH is to a NetApp filer. Command is being run on a Solaris 10 host. Here is some of the ...
0
votes
1answer
38 views

Using a username starting “##” at a bash prompt

Some clown made me a sftp username that started with ##. Now I don't know if the command is wrong or the ftp server isn't responding for certain. Could someone please confirm for me that this should ...
1
vote
1answer
36 views

SSL related “undefined reference” on libssh2 and libcurl libs when compiling C on OpenSUSE

I been trying to compile a C software but I'm getting 'undefined reference' over SSL libraries I think. The libraries it mentions are there, actually I compiled them all again: zlib + openssl + ...
5
votes
1answer
74 views

Still prompted for password after creating authorization keys

I have a Macbook pro, and I successfully set up authorization keys so that I didn't have to enter a password each time I log in to a remote machine. Years later I have a new computer that I have put ...
1
vote
0answers
40 views

How do I tell fanout to forcibly allocate a pseudo-terminal? [closed]

I am using William Stearns' fanout (discussed in a Dr Dobbs article by J.D. Baldwin on 2004-04-07). Whilst running it am seeing the message Pseudo-terminal will not be allocated because stdin is not ...
0
votes
1answer
32 views

can't find running process which I started via SSH yesterday

Yesterday I connected to my Developer VM Debian Linux via SSH. I started "Mamute" which is a open source stackoverflow clone etc. As I restarted my machine today I reconnected as root and wanted to ...
1
vote
1answer
45 views

script ssh login to server and pass root password

I have written an expect script to automate the login process for ssh. My user account has rsa keys setup but once I log in I want to switch to root but the remote server is hanging on the password. I ...
-1
votes
1answer
42 views

How to automate putty commands when connection is through ssh? [closed]

Two files are there. I want to run cmds.txt cmd in ssh port connectivity . how to run txt file with putty. plz suggest some ways. if suppose this is a sv.bat (batch file) Inside batch file there is ...
4
votes
2answers
170 views

SSH broken pipe, message authentication code incorrect

I have set up a Ubuntu server that I plan on using to backup my macbook air using rsync. But every time I use rsync, or even scp, the connection drops, with one of the following errors: ...
0
votes
0answers
47 views

IP address not seen on ifconfig

I've imported a virtual machine from work onto my home pc and I can't connect to it through SSH. I've checked ifconfig and there is no IP address next to inet. I thought it could be something with ...
0
votes
1answer
47 views

Remote docker over ssh tunnel

I have been testing docker. Due to strict firewall policy that blocks all ports except the ones necessary, I bind my docker clients to local ports and use ssh tunnels to access them remotely for the ...
1
vote
0answers
57 views

What is the difference between autossh and ssh that is put in a while loop?

From this website it says that: Autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic. But I really can't see the ...
0
votes
1answer
22 views

Connect To A Specific Host

So I am working in a place which is designed viz. So whenever I login with ssh I am thor@my_username. Now I am asked to access the host named loki. How can do that? I only have the thor ip-address:...
-1
votes
1answer
51 views

I SSH into a linux server via putty, and i have a linked drive on my windows machine. How can I access files on other drives?

I am using a linux server to run scripts and manage a database. I get to this using a SSH through PuTTY. On my windows machine there is a mapped drive to a directory (/mapped_drive/) on this server (X:...
0
votes
0answers
99 views

Ubuntu 16.04 LTS - ssh connection times out using host-only adapter

I have set up a Ubuntu 16 LTS server in VirtualBox and have added a Host-only Network adapter. The IP address is set from what I can see running ifconfig but I am unable to ssh in from bash, the ...
-3
votes
2answers
40 views

How can I check the version of BIND on Debian [closed]

I am using Debian and when I give the command sudo named -v it returns command not found. I want to verify that my ssh server (sshd) is using bind version 9.1.3 or later so that it both is IPv6 ...
1
vote
1answer
53 views

2 Factor Authentication - ask about token only at first login

I've set up google OTP authentication and RSA key authentication on my server but it's very anoing, after some time, to type OTP from phone every time. I would like to know if there is any possibility ...
2
votes
3answers
63 views

Problem with sudoing ssh - `sudo ssh …` fails

I am trying to use git salt ssh access (which runs with root). The error is always: Permission denied (publickey). I managed to reproduce the problem, simulating what salt may be doing, by ...
0
votes
1answer
49 views

ssh on linux harden server

Here I am dealing with a linux harden server. The problem I am facing is that when I try to connect via ssh, an error message pops out. kex error : did not find one of algos diffie-hellman-group1-...
1
vote
1answer
20 views

How to make parallel-ssh stop prompting for password?

I have passwordless ssh setup between the 2 machines. ssh doesn't prompt for password but pssh does. I cannot run commands which need data piped into pssh as the prompt messes with the input. How to ...
1
vote
1answer
65 views

Firefox with X11 Forwarding is not working

I cannot open firefox via ssh: I've tried with: ssh -vvv -X user@192.168.40.21 But it outputs: debug3: send packet: type 50 debug2: we sent a password packet, wait for reply debug3: receive ...
1
vote
2answers
67 views

More efficient X-forwarding?

I open GUI remote programs by SSHing with the -X (or -Y) flag, e.g., $ ssh -Y user@host.com Recently, I found there is a much more efficient way to do this with web browsing only: $ ssh -DNNNN ...
0
votes
0answers
17 views

Would the shell script or command still be running remotely when my local connection is lost? [duplicate]

What would happen if the internet connection is gone or my local computer gets power off when I run a command or a shell script on remote server with ssh? Will the script be executed completely ...
1
vote
1answer
17 views

Can not succeed in excluding user in match directive in SSHD config

I’m having a problem with my sshd config. I want to limit all users of the group www-user to sftp use. All of them but the user yorunokoe. I saw that related question : How to exclude from a "...
2
votes
2answers
247 views

Run a ping command on list of servers and output to a file

I have a file servers.txt on a different server, with list of servers: server1.mydomain.com server2.mydomain.com server3.mydomain.com I want to first download this txt file, ping these servers and ...
1
vote
0answers
30 views

How to evaluate commands on the given node of cluster by using plink?

Despite plink (putty link, which provides remote evaluation of commands on remote cluster by using ssh) is Windows application, I hope that You will help me in this question. I have the remote ...
4
votes
1answer
27 views

Determine which server is the best choice for high resource-consuming task

I have a time and resource consuming task I am running every once in a while (make), which can be run on any one of a servers pool. Problem is, I am not the only user running make, and when two or ...
3
votes
1answer
63 views

SSH login issue with two different user names

I'm facing a login issue with SSH (dsa), here the scenario: On my host I've created ssh keys for the user dx and set permission of .ssh and id_dsa and id_dsa.pub I sent the public key to the remote ...
1
vote
0answers
16 views

Vagrant ssh closes connection after executing -t option

I'm trying to create a script that will bring up my vagrant VM (a Ubuntu box hosted on OSX) navigate to the correct directory and start up my virtual env. I've read that this command should work for ...
1
vote
0answers
26 views

can two android devices in different network(3g) comunicate themselves with ssh connection?

I have two rooted android devices with different isp(i use different 3g connection for them) and created a double ssh connection(i can with a public ip server)comunicating both to this server(i have ...
-1
votes
0answers
39 views

How to write the shell script which check if the file is present on the cluster file system?

Suppose we have pscp on Windows, and remote control to Linux cluster through key key.ppk, the user and host is name@cluster.com. How, by using shell script (in cmd file), check if some file is present ...
-5
votes
0answers
38 views

fail to ssh on remote server [closed]

I am not able to login through below command. Here kkit is super user. As User kkit on server a ssh server b Error : connection closed by server b. But while using ssh -VV pbit@server b I am ...
6
votes
1answer
55 views

Why does SSH add a known_host entry for an IP address?

I have a host named nms.example.org. In my /etc/ssh/ssh_known_hosts I have an entry for the host with the RSA key. This entry, and all the other entries are managed by my configuration management ...
3
votes
1answer
32 views

.ksh session hangs after being inactive

While remotely connecting to a Linux machine using ssh, my .ksh session hangs after being inactive for sometime. If I try to type or ctrl-z, the prompt does not respond. Is there a way to restore my ...
0
votes
1answer
37 views

reverse tunnel on a multi hops ssh tunnel

I'm a windows user, that needs to access his server at home using a double hop ssh tunnel. I've configured via putty, a socks tunnel on a 2 hops ssh connection using a dynamic port, based on this ...
1
vote
0answers
35 views

Locked myself out of Amazon EC2 [duplicate]

I'm working with an Amazon EC2 instance and at some point, I wanted to chown a directory recursively, and it looks like I applied the command to the whole file system. As a result, it is possible that ...
1
vote
4answers
59 views

execute command over ssh connection [duplicate]

I want to excecute the following command over a ssh connection: tmpValue=$(cat /var/run/jboss-as/jboss-as-standalone8.pid) && top -b -U jboss -n 1 |grep $tmpValue |awk '{print $9}' This ...
3
votes
3answers
41 views

Can I re-direct an existing (entire) gnome-session's display to a remote work station?

So instead of using VNC for example - I could actually run a command on my home-fedora terminal and have my work-fedora existing gnome-session appear at home?