Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices.

learn more… | top users | synonyms

1
vote
1answer
39 views

screencapture command on mac fails silently when sshed in

I'm trying to tinker with a machine where I can only connect via shell. I don't have physical access and can't access VNC (maybe that's another question). I'm trying to take a screenshot right now to ...
1
vote
2answers
148 views

Run a script post login linux

I would like to run a script after a linux user logs in to do some additional security checks. The user should first login normally using their password, but then be checked with my script, and then ...
1
vote
1answer
360 views

How to scp without password prompt without storing private key

Here is my current setup: Connect to a Ubuntu server (Let's call this the server) from Windows Do something interesting. Send files from server 1 to another Ubuntu box (the box). I used to store ...
0
votes
2answers
86 views

How do I stop PuTTY becoming unresponsive to input when displaying large amounts of text?

I use a windows 7 machine to ssh into a remote Linux machine using PuTTY 0.62. When I accidentally forget to stream the output to a file and run a program that prints a lot of data to the screen I ...
0
votes
1answer
117 views

Is there a way to copy text in htop?

Normally in putty you can just select text to copy it, but I can't seem to select text with my mouse in htop. Of course there's no right click menu to copy, ctrl+c doesn't work, and I didn't see any ...
0
votes
4answers
459 views

FTP: Cannot connect using FileZilla on Windows.

I installed FTP Server Services on my IIS 8.5/Windows 7 workstation, and tried to FTP using FileZilla from my laptop (client - Windows 8). I tried to configure the Network Settings using Network ...
0
votes
1answer
77 views

Why is [ssh,scp,rsync,etc] so slow, from a VM to another local machine on my gigabit local network?

I have a VM A running the latest archlinux with QEMU, KVM and a Virtio network card. It is a buildbot and it needs to drop the result on another machine B on the local network. The VM is started with ...
0
votes
1answer
72 views

Can’t ssh to the router from the computer (windows) in the same comcast network

I have a ASUS RT-N16 router flashed with DD-WRT. I connect it’s WAN port to a COMCAST modem. The problem is I can’t ssh to the router from the computer (windows) in the same comcast network. (just ...
1
vote
1answer
25 views

why does OpenSSH 6.x client send a string upon connection but 5.x does not?

TL;DR: Why does the ssh client for OpenSSH 6.x send the string "OpenSSH_6.2p2" immediately when connecting, and OpenSSH 5.x client does not send anything? I am trying to get an ssh tunnel working ...
0
votes
1answer
75 views

sudo ssh asks for passphrase when it shouldn't

I am able to ssh user@remotemachine without password using a keypair with an empty passphrase. However, when I do sudo -u user ssh user@remotemachine it keeps asking for a passphrase. Also sudo -u ...
0
votes
2answers
185 views

CentOS. Set environment variable permanently

I used a following commmand in SSH terminal on my server: export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib and it works fine: my program finds all libraries at this point (if I launch it from my ...
0
votes
1answer
41 views

Putty refuses connections to all remote servers

I'm trying to connect to my VPS servers, but putty is giving me connection timeout errors. I recently got a new broadband connection and for some reasons putty is not working on the new connection, ...
0
votes
0answers
17 views

How to share a X server between different users on the same machine?

On the same computer, accessible by ssh, i would like to start a X server with one user that could be used by all other users, currently when i do this, if i start an application with another user on ...
2
votes
1answer
69 views

Cross realm kerberos authentication with ssh

How can I configure server wide cross realm authentication on an openssh server using kerberos without having to add principles for both realms in the .k5login file?
0
votes
0answers
11 views

Reversed SSH server with multiple clients

We are installing several raspberry devices to our clients. We need to have access to those devices via SSH. Ideally, we want to have a SSH server which will be connected by clients. Is this possible ...
3
votes
1answer
43 views

SFTP transfer a file from server to desktop

I am trying to compete an assignment for school and I have one final step. I have use the "put" command to load the file. Then ran a spool and the file followed by ending the spool. Now I am back at ...
5
votes
1answer
150 views

How are Ciphers, MACs and Key exchange algorithms negotiated by OpenSSH?

Looking at the man page for sshd_config I see the default list of algorithms for Ciphers, Key Exchange (KEX) and MACs. In my set up, I have selected a subset of these algorithms for use (i.e. I don't ...
2
votes
4answers
164 views

Detecting known computer on public network in BASH

Anybody know of a way through BASH (specifically OSX terminal, but I'd prefer a BASH only solution without OSX' in built functionality) to detect a known computer on a public network (that I am also ...
1
vote
4answers
1k views

Shell script: ssh to remote machine, then exit: 'exit' does not work

I have a shell script of the following type: #!/bin/bash ssh mylogin@myremotemachine.com echo "Hi" exit I run it locally to do something on a remote server (represented by 'echo "Hi"'). However, ...
0
votes
1answer
39 views

installed samba, now ssh clients cannot connect

I want to install Samba on my Linux Mint 14 Nadia server, but when I do, my clients that use SSH can no longer connect. All attempts fail immediately with a ssh_exchange_identification: Connection ...
0
votes
1answer
98 views

Not able to ping or SSH to openstack instance

I have created and launched an openstack instance. I have associated key and added all SSH (22), TCP and IMCP ports accessibility. I found an IP and then i tried to ping that ip. HOST Machine : ...
0
votes
0answers
409 views

SSH error on linux - Permission denied, please try again

I've looked at many similar questions and none of them help. I'm trying to log in as root to my server but keep getting "Permission denied, please try again". I can log in via SSH fine on my other ...
0
votes
1answer
35 views

Codeblocks - upload binary to server after compilation

I'm running Debian 7.6 on VirtualBox and I also have a Debian VPS. Is there any way to setup Code::blocks to automatically scp the binary after compilation to my VPS?
0
votes
2answers
58 views

Cent OS 6 - Do I need to restart a service after updating .ssh/known_hosts

After updating my .ssh/known_hosts file do I need to restart a service? I tried service ssh restart but it gives ssh: unrecognized service.
1
vote
1answer
41 views

What's the relationship between ssh console and bash?

This is somewhat a Grandma question, but nevertheless, I can't really figure it out. It's the following: I log in to a remote machine via ssh. There (for example!) I try to set LD_LIBRARY_PATH ...
0
votes
1answer
26 views

My firefox is set to go through a proxy. How can I use this proxy in the terminal?

When I go into my settings page, I can get all the data on what firefox is using. I can go on github, download packages as zips, etc. But when I use the terminal, to do git clone or ssh, the commands ...
0
votes
0answers
67 views

ssh port-forwarding and remote bind failure: ExitOnForwardFailure not working?

I have two FreeBSD 9 hosts and I want to maintain a tunnel to reach firewalled host R from a high port on cloud host C. ssh -y -i tunnel_id_rsa -o ConnectTimeout=60 -o ServerAliveInterval=20 -o ...
0
votes
1answer
61 views

Pageant doesn't work with tortoise SVN and putty authentication

I followed this youtube tutorial to try to install tortoise svn on Windows and commit on a unix remote server. I don't want tortoise to ask me for my password on every commit. This tutorial works ...
0
votes
1answer
62 views

SFTP without tunneling?

I am using WinSCP 5.5.5, which gives the user the choice of FTP, SFTP, SCP protocols for remote access to website files. I chose to use SFTP. My questions (indicated in bold numbers): 1. My ...
0
votes
1answer
3k views

xauth not creating .Xauthority file

When I ssh into a headless Linux Mint 17 system, it doesn't create update / create an .Xauthority file. Moreover, when I run xauth I get the reply: marty@N40L ~ $ xauth xauth: file ...
1
vote
1answer
71 views

Establishing a multi-hop ssh tunnel through an ssh1 server

I'm having trouble tunneling through an ssh1 server. This is on a customer's machine and no, they won't update to ssh2. A bit of background: I can successfully tunnel through the customer's gateway ...
0
votes
1answer
81 views

using git pull after ssh in script

I use public and private key to ssh to a remote server without password. After that, I need to perform "git pull" command. But I don't know how to pass the password into it. Trying the following ...
0
votes
2answers
35 views

How to ssh as another user

The remote server only allows account X to ssh to. Now, from my computer, I want to ssh to the remote server as account X without password. I generate the private key on my local computer and share ...
0
votes
0answers
56 views

Linux, vim and ssh: why is vsplit slow?

As soon as I have more than one file visible with a vertical split (= :vsplit) the moves and screen refresh become sluggy. I've noticed that on many different Linux systems (old and my very recent ...
1
vote
3answers
3k views

How do I debug “X11 connection rejected because of wrong authentication”

I have a problem with X forwarding through SSH. I've battled for ages, but no-one can seem to help. I'm now taking a different tact. I would like to know how I would debug the errors? What logs ...
0
votes
0answers
2k views

Vagrant :: Unable to run vagrant up; Connection timeout. Retrying

I'm starting to migrate from wamp to the laravel homestead vagrant box however I've been stumped when it came to starting the box. I've downloaded and configured all assets and ran vagrant up to boot ...
1
vote
2answers
618 views

Locking down SFTP user in cygwin

I set up a user to ssh to Windows Server 2008 R2. I was able to change de default directory. The only piece I could not figure out is how to restrict user to just that directory. In other word I ...
0
votes
2answers
48 views

how to find if port is blocked by router over ssh

I have my own distributed app that connect over TCP to several remote machines, i have ssh access to these machines, my program uses a specific port "3333", when my app fails to connect to the ...
0
votes
1answer
388 views

Emulate ssh ProxyCommand on PUTTY

I have an instance at Terminal.com that I want to connect via PUTTy's SSH. They have a guide saying you could connect to their via a proxy. But I can't really figure things out so easily. Steps to ...
1
vote
1answer
95 views

Raspberry Pi SSH Lag

Yesterday I got my Raspberry Pi B+, which I use via SSH. Sometimes the SSH typing takes about 5s and more to respond with an visual feedback after a time of idleness, after that lag everything just ...
0
votes
1answer
112 views

Configure VM network settings to ssh into a mininet VM

I am trying to configure my VM (mininet vmdk) network settings in order to ssh into it from my host machine. I am using virtualbox as my hypervisor. Per the Mininet instructions ...
0
votes
1answer
23 views

Is there such a thing as a universal autorized_keys for 1 ssh_key to work on all accounts on a machine?

I run a webserver so I'm constantly making new accounts for new domains and logging into them over ssh. Is there a way that instead of pasting my id_dsa.pub file into a new authorized_keys file on ...
4
votes
2answers
166 views

How can I configure putty to retain the feed from nano on the screen after exiting?

When I use SecureCRT as my ssh client, and I exit a nano session, the prompt appears under the last state of the nano screen. I've gotten used to being able to refer back to content I was editing, so ...
0
votes
1answer
366 views

ssh error: connection closed by remote host

When trying to SSH into a particular Mac machine it gives me the following error : ssh_exchange_identification: Connection closed by remote host I have done some google searches on the issue but I ...
0
votes
1answer
37 views

Can't log in via ssh from new user

Let's say that user A is my main user. I configured A to work with ssh and I maniged to connect to it via localhost or my ip. I want to create a user who is not in the sudo group and has ...
1
vote
1answer
22 views

Filtering who can connect to me via ssh

I want to access my home pc from my laptop. This will make working on projects while in university much easier (and a whole bunch of other things) I've successfully installed ssh and ssh-server. I ...
0
votes
1answer
50 views

How do I make sure that bash (not tcsh) is used in Linux?

I have a bash script where I use ssh to connect to another server and run some commands there. I found some sites that the error (Warning: no access to tty (Bad file descriptor). Thus no job control ...
0
votes
2answers
116 views

X over SSH and xauth not working

I have 2 Linux Boxes (S1 - 192.168.0.98 and C1 - 192.168.0.76) and a Windows 7 Box (W1 - 192.168.0.91). One of the Linux machines (S1) was setup with SSH and X forwarding, and the windows box (W1) ...
0
votes
1answer
87 views

X11 Forwarding Failure only on a Single Server

I have two computers: PC1 and PC2. Both are running identical installation of Debian Wheezy with latest updates. The installation on PC2 were taken from PC1 using tar. The only differences between PC1 ...
1
vote
3answers
108 views

Private and public key SSH for more users, root and sudo users (VP)

I wanted to ask how I can use the same authentication (private and public key SSH) for the root user and for another user (sudo user) on a VPS. Or, in terms of security, it is best to make the ...