Secure Shell; a network protocol that allows data transfer over a secure channel between two networked devices.

learn more… | top users | synonyms

0
votes
1answer
1k views

SSH authorized_keys and newline

I am trying to configure SSH with public-key authentication on Debian. I can't seem to get it to work because auth.log keeps saying that can't read key type:...(key line)\n. It keeps complaining ...
12
votes
4answers
24k views

Asus RT-N66U Enable SSH Access

Is the option to enable ssh access to this router not available in the stock version of the firmware? I can only see "Enable Telnet" under Administration -> System. That's kind of lame. Telnet is ...
1
vote
1answer
317 views

Debian SSH authorized_keys is being ignored

I'm using authorized_keys to restrict the usable commands for an user. The owner of the ~/.ssh and the file is the root and set to chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys This was working ...
1
vote
1answer
379 views

SSH connection with key, not working with rsync

After creating a key with no password, I can login with SSH to my remote host: $ ssh root@machine.local Welcome to Ubuntu 14.04.1... However when I try to use SSH to rsync to the same remote host: ...
0
votes
2answers
478 views

Don't have permission for .ssh folder and the keys inside, despite being owned by me

On my Mac, I can't use git (and consequently Heroku) because of incorrect file permissions. The root user can access them fine, but my user cannot, despite me owning it and it being in my home ...
1
vote
1answer
56 views

Can someone set me straight on SSH into my personal computer?

I have opened port 22 on my router (using the Belkin GUI) and it forwards to the ip of my computer (the one that is 192.xxx..x.x) and I have sshd listening on port 22. I can ssh in from within my ...
1
vote
1answer
120 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
4k 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
520 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 ...
1
vote
1answer
514 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 ...
7
votes
1answer
1k 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
3answers
5k views

FTP: Cannot connect using FileZilla on Windows - 503 Failure of data connection

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
476 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
167 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
66 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
547 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 ...
2
votes
2answers
12k views

How can I set an environment variable permanently in CentOS?

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
115 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
38 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 ...
3
votes
1answer
784 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?
3
votes
1answer
71 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 ...
6
votes
1answer
839 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
386 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
23k 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
95 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
312 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
1k 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
220 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
479 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
82 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
86 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 ...
1
vote
0answers
193 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
160 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
215 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 ...
3
votes
4answers
32k 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 /home/marty/....
1
vote
1answer
455 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
159 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
69 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 ...
4
votes
3answers
28k 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
4k 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
5k 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
472 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 ...
1
vote
1answer
3k 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
2k 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
640 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 (http://mininet.org/...
0
votes
1answer
30 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
253 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 ...
2
votes
2answers
5k 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
288 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
29 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 ...