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

0
votes
2answers
848 views

centos 6.4 login as root error

I have just installed CentOS 6.4 and cannot log in as root over ssh from other computer. Option PermitRootLogin in /etc/ssh/sshd_config is set to yes, and service sshd is restarted. Any suggestion?
4
votes
4answers
7k views

How to set up an alias server name

I want to set up an alias server name on my laptop (Linux). I do not want to use the /etc/hosts/ file since the IP address of the remote server changes. The reason I want to do this is because the ...
1
vote
2answers
739 views

Can I have multiple SSH keys for the same host and user?

I have two accounts on Bitbucket and an SSH key for each one. This is how my ~/.ssh/config looks like: Host bitbucket.org User git IdentityFile ~/.ssh/bitbucket/account1 Host bitbucket.org ...
1
vote
1answer
8k views

Enable Remote Access Linux

It might sound very basic question but I am beginner on Linux... I have created a few users on my Linux distribution. I would like to enable Remote Connection through SSH for some of these users not ...
0
votes
2answers
286 views

Don't sync files during Matlab execution in Dropbox (Linux)

I'm a strong Dropbox user. I usually log in (via SSH) to my Linux machine and use Matlab on a Dropbox folder which automatically syncs everything. However, at this moment, my code generates a lot of ...
0
votes
1answer
341 views

rsync --remove-source-files and symbolic links

My source folder contains only symbolic links to different directories: symlink1 -> /path/to/dir1 symlink2 -> /path/to/dir2 I want rsync to delete synch'd links from the source on success. ...
0
votes
2answers
742 views

ssh to localhost

I am following some steps from a wiki to install Hadoop, Cloudera, etc... One of the steps is saying "ssh to localhost" and make sure you don't get a pass phrase, I was getting pass phrase indeed, ...
0
votes
2answers
783 views

Transparent SSH Multi-Hop - Access to network without using shell (Shared connection)

I have a quick question. Apologies if this has been posted already, but I have searched and can't seem to find what I am looking for. I have a localhost , Host 1 and Host 2. The Host 2 machine has ...
2
votes
1answer
660 views

SSH not reading rc files

Once upon a time, an ssh invocation to host1 like ssh u@host1 command would read .bashrc before executing command. host2 is administered by the same people, and reads .bashrc! I don't administer ...
0
votes
2answers
3k views

SFTP via Terminal Error

I cant connect to a server via sftp any more, I could yesterday. Here is the full sftp -vvv log, maybe you could help me out? Tried deleting ~/.ssh, tried hosts.allow / hosts.deny. No solution at all. ...
0
votes
1answer
182 views

Recognized printer not printing

I connected an HP 1000 J110 to my server which I access via ssh. Listing the USB ports it recognized it. Also I Pasted the PPD on the /etc/cups/ppd/ folder... Is the ppd my pc uses to print when ...
-2
votes
1answer
9k views

How to change password in SSH

So here's the situation: I'm new to my job so I still have no idea what they are talking about like this one, my boss tells me to change my password in docs2comply.com by SSH. I don't know what the ...
3
votes
2answers
2k views

Configure default domain in Putty

I work at a big company with its own domain, and I SSH into servers every day, many times a day. Is it possible to simply type hostname instead of hostname.my.domain.com and still SSH successfully?
1
vote
1answer
196 views

How to access remote desktop (like SSH -X) in a windows system?

I've been struggling all around the interwebz and I couldn't find any useful answer. I have a computer with a Windows OS that has some software that I just can't run on GNU/Linux. But in GNU/Linux, to ...
0
votes
1answer
366 views

fatal: error when closing sha1 file: Permission denied

I am attempting to create a local git repository using a mounted linux drive (via SSH via ExpandDrive) from my mac using GitBox, however when I attempt to make a commit I continually receive this ...
1
vote
1answer
175 views

EC2 - run a script immediately after ssh login?

I don't even know if this is possible but I thought I'd ask anyays! I'm wondering, is it possible to run a script immediately after a SSH login? My thought is to make a python script that executes ...
1
vote
3answers
2k views

How to override SSH default identity?

Short version: how can I disable/override the default SSH identity file locations ~/.ssh/id_{rsa,dsa} and force SSH to use another one (first)? Long version: I'm trying to setup gitolite with ssh ...
0
votes
1answer
283 views

Multiple ssh keys on Heroku

I have: Computer A with id_rsa and id_rsa.pub Computer B with different id_rsa and id_rsa.pub (it's not the same as that one from computer A) and id_rsa2 id_rsa2.pub I created an account on heroku, ...
5
votes
1answer
2k views

Having vagrant provisioning clone a repository,

I'm trying to build an environment that when it finishes bringing the VM up it clones a repository into the share directory. The problem is that the box doesn't have SSH permission on the remote ...
2
votes
1answer
612 views

environment using su - vs “ssh user@machine” as a user on lucid

I'm trying to debug a shell environment issue on a machine running lucid. Both root & user have /bin/bash as their shell in /etc/passwd When I use "sudo su - user", my PATH includes the following ...
0
votes
1answer
126 views

Connecting to host by SSH client in Linux by proxy

I am really struggling with this. My host (A) is behind a proxy/firewall (PF) and needs to connect to host H. The proxy has HTTP/FTP/SOCK proxy configured and I have no issue to configure in ...
2
votes
2answers
84 views

Have remote X app open without manual “placement” on my local display

I am running X on my local machine and then using ssh -Y username@remotemachine to connect to a remote Debian server. Once logged in to this remote Debian server I type iceweasel at the command line ...
2
votes
2answers
681 views

How to rsync via gateway ssh?

I want to rsync my local files with a backup which I have on a server which allows access from where I am right now only via a gateway. So I came up with the following rsync -avz -r --stats ...
3
votes
1answer
803 views

Why can I see password prompts through redirecting output?

So, I've got a command that I'm issuing that is essentially 'ssh'ing into various hosts: command 2&>1 | grep "desired output" Every once in a while, in the midst of the command, it'll run ...
2
votes
1answer
369 views

Serving a web page through VPN and SSH locally on a remote computer

My desktop computer at work has apache running serving my webpage locally for dev purposes. I can access this no problem from work. What I want to do is VPN in to my company and SSH into my desktop ...
0
votes
2answers
1k views

Terminal highlight error when compiling with a make file

I have a simple make file and I want to highlite the word or line that contains "error:" to make it easier to see. I am SSH via Putty to the linux machine which may cause a problem but currently I ...
1
vote
0answers
419 views

VNC connection over SSH Tunnel with “middleman” server (Windows Viewer to Mac Server)

I NEED HELP! So I have a windows 8 PC (vnc viewer) and a iMac 10.8 Mountain Lion (vnc server) and a middleman server running ubuntu on a DMZ (all ports open). Both computers are behind a firewall ...
6
votes
1answer
583 views

Two password (factor) authentication to root user / sudo

With regards to running Linux remotely (SSH) I'd like to employ two levels of authentication for accessing the system with root privileges. I have the root account disabled / locked out so direct ...
2
votes
4answers
538 views

How to give each computer on the network its own url?

I remember when I was in university, I could remote access individual workstations in the computer lab by specifying p1.someuniversity.edu or p2.someuniversity.edu through ssh. Now at home I have ...
10
votes
4answers
8k views

SSH works in putty but not terminal

When I try to ssh this in a terminal: ssh username@sub.domain.com I get the following error: Connection closed by 69.163.227.82 When I use putty, I am able to connect to the server. Why is this ...
2
votes
3answers
140 views

save password once and use it from different terminal

I have script that runs remote login using SSH, copies a file from that remote machine using SCP without asking for a password, however, the change only works for the terminal where I am running the ...
0
votes
0answers
433 views

Fatal SSH buffer errors when connecting to forwarded port on local network

I have two machines, one running Windows and the other running Ubuntu, and an application running on Ubuntu that connects to a server counterpart running either locally or remotely. The server is ...
0
votes
1answer
406 views

How to connect two computers using SSH tunneling

I have two linux computers in two different institutes. Computer1 is username1 with host1(internal ip 192.168.1.115) connected to server1(public ip 59.162.19.43). Second Computer2 is username2 with ...
0
votes
1answer
431 views

Mutiple ssh servers on a single IP - known_hosts complains

Given my default consumer-grade internet, I forwarded different ports on my router to different servers, however, known_hosts complains every time I log in. Can I tell it to distinguish by port? ...
2
votes
1answer
288 views

Internet browsing at work though remote proxy: what is leaked locally?

Scenario: you set up a remote proxy (e.g. linode) and connect to it through ssh from your work pc. You set up Chrome/Firefox to browse the internet through it (via socks5) instead of using the ...
1
vote
1answer
982 views

Port-Forwarding for Click'n'Load remote usage

I've got JDownloader running on my HTPC and access it via VNC. The problem with Click'n'Load (CNL) is, JD only listens on localhost:9666 for incoming traffic, and the browser applications only send ...
1
vote
0answers
538 views

ssh_exchange_identification: connection closed by remote host VIRTUALBOX scenario

On a virtual debian machine in VIRTUALBOX I type: ssh -R 2222:localhost:22 andrea@10.0.2.2, to make reverse tunneling and allow remote machine to see debian desktop. on the remote machine (ubuntu) ...
0
votes
0answers
33 views

Transfering long files with SSH to RHEL

I am using SSH Secure Shell GUI to transfer some folders from Windows to a RHEL server, but one of the file inside the folders has a name which is too long and I can't shorten the name as it is some ...
0
votes
2answers
369 views

Passwordless SSH between users on the same server fails (CentoOS 6.3)

I have set passwordless connection from user A on my server to two other users. SSH to one of them works fine, but to the other one it asks for password. As far as I can tell, both users are the same ...
0
votes
2answers
241 views

SOCKS proxy on a local network

I have a Windows 7 machine that I use to open up a SOCKS connection using Putty on SSH. I set the tunnel to Dynamic localhost 8080 which I can use locally. How do I get a machine on the local ...
0
votes
1answer
691 views

ssh using putty to server outside vpn

I don't know too much about networking and I'm hoping someone can point me in the right direction. I'm not sure how to go about solving my problem... When I'm connected to my company LAN, I'm able ...
2
votes
2answers
157 views

Unable to get profile variable using ssh

Unable to retrieve the profile variable using ssh. server2 ==> user apptst ==> bash profile has $APPHOME variable. Was trying to retrieve the value from server1 using ssh but failed. Used options ...
-1
votes
2answers
130 views

Making the most out of an old laptop for home improvement [closed]

My old Compaq laptop's (circa 2005) been lying around useless for the longest time so last week I decided to make a Linux box out of it. So far, I have set it up to provide the following services, ...
0
votes
2answers
821 views

Run windows bat remotely file from Linux over ssh

It is possible? Cygwin is installed on the windows environment. I connect to windows environment over ssh with follow command: ssh user@ip /cygdriver/c/run.bat. After introducing the password the ...
3
votes
2answers
196 views

Restart a process in detached screen via ssh

I have a server with several screens running, each with their own node server listing to different ports. I'd like to create Jenkins jobs to ssh into the box, reattach a specific screen, stop the ...
1
vote
1answer
391 views

Ubuntu/Nautilus - connect to server: is it possible to disable moving folders?

Sometimes I use Nautilus on Ubuntu to connect to a remote SSH server. I can browse folders easier and open and edit files remotely in my local editor. One thing I'm concerned about is accidentally ...
0
votes
1answer
202 views

mysql and ssh tunnel

I got some troubles establishing connect to remote database via ssh tunnel. Open ssh tunnel ssh -fNg -L 3307:127.0.0.1:3306 user@remote-host Check it netstat -lep --tcp All OK tcp 0 0 *:3307 ...
0
votes
3answers
686 views

Connect to AIX via SSH

I have to connect the AIX machine through Linux via SSH command and i m not able to figure out how to connect. Can anybody help me with the command. Thanks, Vivek
0
votes
1answer
269 views

Stuck in a virtual console after init, not sure how to proceed

When I turned on my laptop today this message (for a first time greeted me) login as: root root@10.10.10.158's password: Last login: Sun Sep 7 10:25:51 2008 from 10.10.10.41 Linux debian ...
0
votes
2answers
40 views

linux - file copy compete notificaion

I'm using ssh to copy a large file from my web server to my local machine. How can I be notified when it is done downloading? I would ideally like to run mpg123 to play a short audio clip upon ...