Secure Shell (SSH) is a protocol primarily for encrypted shell connections.

learn more… | top users | synonyms (2)

2
votes
1answer
767 views

How To set up SCP from localhost to remote Ubuntu server

I am trying to configure an ubuntu vps. I have set up ssh secure login using rsa public and private keys from a local machine. As well as disabling root login I have also set up iptables and ...
2
votes
2answers
681 views

Help With IPtables And SSH Connection on Ubuntu VPS

Looking for help with a VPS config. I am a web developer that is trying to configure a 64 bit Ubuntu VPS. I changed the SSH port to 30000, added a user with all privileges and have set up the ...
1
vote
3answers
804 views

Using Putty results in missing characters on man pages

I am using Putty 0.61 to ssh into an Ubuntu server (10.04.3) from Windows 7. Whenever I try to view a man page, inevitably there are many characters that are missing from the man page. The TERM ...
0
votes
1answer
198 views

sshfs fail when remote server relogins on login

I'm trying to mount a remote disk using sshfs. The code is: sshfs user@server:/ /home/user/folder The problem could be that the remote server relogins the connecting user under a different user ...
1
vote
2answers
315 views

Can't SSH Into EC2 Instance

So I spun my instance up from the web, downloaded a keypair installed it and everything worked great for about a day. Then I rebooted my computer, and I'm not able to SSH into it anymore. I tried ...
0
votes
1answer
1k views

Does AWS not allow outbound SSH connections?

I was wondering if Amazon Web Services disallows outbound SSH connections from public facing EC2 instances? I have an SSH Bastion on a public subnet with an Elastic IP setup to where I can can ...
1
vote
0answers
659 views

Remote connection to Hadoop namenode issue

I am required to hack a single node hadoop "cluster" (cloudera psuedo-distributed) to be able to access it remotely. I have successfully installed hadoop and I have updated the localhost identifiers ...
3
votes
4answers
4k views

Is there a way to avoid SSH typing delay?

Can I tell SSH to send the data only after pressing enter or tab, and not after each individual keypress?
0
votes
1answer
530 views

Debugging flaky SSH tunnel

We have a dedicated SSH tunnel server, which supports a few dozen remotely located hosts. The hosts each create a reverse tunnel into the server with assigned port numbers, using autossh to keep the ...
5
votes
1answer
2k views

How can I disable and re-enable machines in a BIG-IP pool via ssh?

I can't seem to find any simple examples of disabling and re-enabling machines using the ssh interface. Can someone give me a brief example or a pointer to decent documentation?
12
votes
4answers
5k views

Is it possible to change value of $TERM when calling ssh?

On my local terminal, I have TERM=konsole-256color, but not all remote machine I connect to have this definition. Is it possible to make ssh change the TERM on remote machine? Without changing .bash* ...
1
vote
2answers
103 views

Get name of public key used to connect

I created a shell script that asks the connected user a question and after that it give him the prompt. The shell posts the question to a database for logging. The problem is that our developers are ...
0
votes
1answer
36 views

Which OS (from stock) to act as an all-encompassing web application server for a java web app? [closed]

I am about to purchase a hosting package from Jumba for a VPS. (http://www.jumba.com.au/vps) They provide 3 options for OSes: CentOS 5 64-bit Debian 6.0 64-bit Ubuntu 10.10 64 bit Given these ...
0
votes
1answer
251 views

Any free service to redirect a port to some address? [closed]

I have a server where I would need to connect, but I can't do it on the standard method due to the network settings, so I was guessing if it exists some service or daemon that could bind the SSH port ...
3
votes
2answers
201 views

SSH: use specific key when logging in

In /home/petri/.ssh/ I have my private key called petri. When I try to connect to my server using ssh, it does not accept my private key. Running -v learns that it is not trying my key petry, but just ...
2
votes
2answers
8k views

How can I set environment variables when I ssh login to my Unix box by passing custom arguments?

I want to pass some parameters as part of my ssh connection that I can use to set custom variables for my login to do certain things or run certain scripts. How do you do this running Putty on Windows ...
0
votes
2answers
177 views

Ldap ssh authentication is super slow… any way to speed it up?

I am running OpenSUSE. Here is the output of ssh -vvv: OpenSSH_5.8p1, OpenSSL 1.0.0c 2 Dec 2010 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ...
2
votes
2answers
225 views

exporting bashrc file over an ssh connection

I have my bashrc file set up to my liking.I usually work on a hardware that is plugged into a remote server.I ssh into that remote server.I would like my .bashrc to be run when I ssh into the remote ...
3
votes
2answers
1k views

Managing SSH keys between EC2 instances

I have what seems to be a growing count of EC2 instances and all is running fine and dandy. The one problem I'm facing, however, is figuring out a strategy for SSHing between the machines. Copying ...
-3
votes
1answer
139 views

Comand over SSH to CentOS and Ubuntu [closed]

I want to put a command over SSH to my CentOS server; Are the comands for CentOS same with Ubuntu? Are the following commands work for CentOS? ...
1
vote
2answers
854 views

AT&T U-verse IRC, SSH, etc. sessions dropping

AT&T U-verse fiber 24Mbit down / 3Mbit up 2Wire Router Model 3800HGV-B Software Version 6.1.9.24-enh.tm Our speed is as advertised. The AT&T internet connection is fast. The problem isn't ...
-1
votes
3answers
797 views

SSH: Switch from public key authentication to password

I have an account i SSH into. How do i switch to using a plain old password to login rather than my public/private key pair?
6
votes
3answers
4k views

How to regain SSH access after beeing locked out by iptables?

TL:DR I made changes to my iptables config and now SSH is refusing all connections. Can I fix this without contacting my hosting company? Long Version Ok, this is most likely 100% my own fault... ...
2
votes
5answers
1k views

How to ssh to a linux server behind corporate firewall? [closed]

My company has a linux server (CentOS 6 VM) behind a corporate firewall, I have full root control of the VM, but I have no control over the firewall. There's an ssh server running on it, and I can ssh ...
2
votes
2answers
122 views

SSH dies when a lot of text transfers through it

I've got a strange problem with SSH. When I try to do something that sends a lot of text over it, often it will break the connection ("connection reset by peer"). It's not every time, but often enough ...
0
votes
4answers
612 views

Backup website using SSH through terminal?

I just completed a magento website online, but I don't have any of the files on my local hard drive (couldn't install it on MAMP). But I would like to make a back up. My hosting company lets me ...
0
votes
1answer
549 views

Run Python program when user logs in using SSH

I want to have a command line program that I made in Python automatically run when a certain user logs in on my server using SSH. But the user must not be able to escape the program or run any other ...
0
votes
1answer
330 views

Get Kerberos ticket with SSH

I'd like to get a Kerberos 5 ticket when ssh-ing to get to a fully-automated login solution. Typically, you use kinit first and then ssh: > kinit user@DOMAIN user@DOMAIN's Password: (enter ...
2
votes
4answers
93 views

Problem with sshd - installing is remotelly

I have really bad problem. Here is the background: I have a vps and I tried to use svn, but it fauls badly. I found in one site that the problem disappears if you reinstall ssh client and I did it. ...
1
vote
1answer
242 views

Enforce sshd key algorithm

In ssh_config I have the HostKeyAlgorithms parameter where I can enforce the use of DSS algorithm for the key, like: HostKeyAlgorithms "ssh-dss" How can I do this in sshd_config (daemon config) in ...
3
votes
3answers
773 views

Server responds to pings, but won't accept SSH connections until reboot. 0% CPU

I have a web server that occasionally stops working entirely. There is no spike in web requests, CPU usage, memory usage, disk usage, or network usage leading up to the crash. Just all of the usage ...
1
vote
2answers
179 views

Debian: Unable to connect to ssh with a user I just created

I've a debian 6 installed on a server. I installed ingres on this server, which runs now with the user "ingres", I want to connect to ssh with the ingres user(for many reason, one of them is that ...
8
votes
4answers
11k views

What does this ssh error mean?

This is my last resort. I've been trying to figure out the problem here for hours. Here's the deal: I have copied my private key from machine #1 onto machine #2. Machine #1 is able to connect via ...
1
vote
1answer
240 views

SSH executed from Perl get SIGSTOP instantly

I have some perl script which executes some commands on remote gerrit server via SSH. It's running on a Debian lenny virtual machin. During several monthes it was executed in the following way: ...
3
votes
3answers
530 views

Any point using Denyhosts for SSH when only RSA key logins are allowed anyway?

Right, so if I can only SSH into my box by having the appropriate RSA keys configured, is there any point in using Denyhosts for SSH as well? Or is Denyhosts only looking at keyboard-interactive / ...
0
votes
1answer
109 views

amazon ec2 instance stopped being accessible

Up until this morning, I had a website running on ec2 (freeBSD, ami-8cce3fe5, running django/uwsgi/nginx), with an elastic ip of 50.19.97.56 . The site was being served, and I could ssh into the ...
0
votes
2answers
127 views

Need convincing PGP public key needs to be changed

So the situation is thus. We're working with another company and as part of some file distribution processing we have to encrypt some files before they are sent. The company in question sent us ...
4
votes
4answers
272 views

SSH - Run a command, then give me a shell

This question reminded me of one of my own. I want to create an alias that will ssh to a machine, runs a command (in this case, cd to a provided path) and then gives me a shell. I've run a hundred ...
12
votes
3answers
1k views

Inline SSH command

Is it possible to do a simple inline style SSH command, for example: ssh foo@bar.com { cd foo/bar && rm *.foobar }
-1
votes
2answers
91 views

SSH using one port(client) to another port(server) [closed]

I'm in a college. My college blocks all the ports except 80 and 443. My ssh server runs at the default port. So is there anyway that I can access my ssh server from my college. I badly need a ...
0
votes
1answer
168 views

Entries in auth.log on Ubuntu LAMP

Fairly new at securing and monitoring Linux boxes but have noticed some odd behaviour with our locally hosted LAMP server that stores our disaster recovery. Basically it has been reporting itself as ...
0
votes
1answer
90 views

How to log multple users on in Squid access log.

I have a Squid proxy where a few users come in thrum SSH. They they are forwarding ports through the tunnel. This has the side affect of thinking all users host is 127.0.0.1 in squid access log. So I ...
0
votes
3answers
1k views

Using X11 over SSH from a Mac

So here's my situation: I work for my school as a tech. One of our servers has a firewall problem and isn't accepting connections from outside the network. I tried to SSH into one of the servers that ...
0
votes
1answer
314 views

Tunnel requests from web server to my local machine for specific virtual hosts

I want that all http/https requests that come to a server for a particular virtualhost to be tunneled to my local machine. Say my apache server has a virtualhost dev.nands.com, I would want all ...
1
vote
2answers
3k views

SSH Tunnel slow

I just moved halfway across the globe and am having a strange connection issue. I have a 4 Mbps dsl connection, can successfully ssh into my server, and setup a tunnel. I use PuTTY (on my desktop - ...
0
votes
1answer
449 views

Public SSH keys not working for all users on same server

I have a VPS on which I have multiple "users" (all me, for different things). I configured my local SSH public keys and used ssh-copy-id to copy to all of them. I am able to login without a password ...
0
votes
1answer
201 views

over ssh, After some minutes Gtk-WARNING

I connect to a server over ssh with ssh -CX server ok, And I launch remote graphical apps, ok. But after some minutes I get Gtk-WARNING **: cannot open display And I have to reset the ssh ...
2
votes
3answers
2k views

Reconnect ssh session when disconnected without screen

I initiated 'do-release-upgrade' over ssh, and then my (client) network connection died. How can I reconnect to the session which is performing this command?
2
votes
2answers
200 views

VPS Memory Usage - A Bit Confused?

I have a VPS which has 512 MB of dedicated memory, and up to 1GB burstable. I recently installed nginx, and I noticed a spike in memory usage. With Apache, it was using around 170MB. With nginx, it's ...
3
votes
1answer
5k views

How can I login to Amazon EC2 without using PEM file?

Cause i want to access my own EC2 from different host. It is hard to key the pem file in every host.