SSH (Secure SHell) is a protocol for running commands on a remote computer.
4
votes
1answer
549 views
XAUTHORITY environ variable set repeatedly on every login
I am running a Suse Linux 11.04 system. My problem is that when I do a fresh login into a shell as root, a new Xauthority file of the form xauth***** gets created in the /root/ directory. Upon exiting ...
3
votes
1answer
439 views
SSH window forwarding with Xming
I have installed fedora 17 on the old desktop computer and put it to DMZ of my NAT network - i.e. whole computer is accessible via public ip address to the internet and could be called "server".
I've ...
3
votes
1answer
308 views
GNU screen freezes trying to reattach
I have several long-running GNU screen sessions. I ssh to the box they're running on and run screen -d -r foo to detach them if they're connected anywhere else, and then attach them in my current ...
3
votes
1answer
683 views
ssh localhost without password doesn't work on Fedora 14
I performed:
$ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
$ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
then in /etc/ssh/sshd_config changed StrictModes to no and restarted sshd.
And I ...
2
votes
1answer
21 views
How can I use ForwardAgent with keychain, or detect a new login?
My scenario:
I have Server A at home, and Server B at my parents house. I also have Laptop A and Laptop B at home. I do all sorts of strange ssh hops - I might connect Laptop A -> Server A -> ...
3
votes
0answers
148 views
Can I execute commands from a midnight commander ssh connection?
When I connect to a VPS via a Shell link in MC, the location of the command prompt remains at my local box. I would like to be able to execute commands (e.g. mkdir, tar/untar) directly from the ...
3
votes
0answers
147 views
light weight disk based backup solution
Currently I am using Dirvish to backup a handful remote machines, both Linux and Windows to local disks. But Dirvish hasn't seen any updates for many years and it has a couple of small annoyances ...
3
votes
0answers
420 views
How do I prevent ssh remote login from breaking dbus?
I'm running openSUSE 11.3 on my workstation at work under KDE, I don't have root access to it. The default shell has been set to tcsh. When I am logged in at my workstation and log in remotely from my ...
3
votes
0answers
202 views
Emacs ansi-term and term not working well when I ssh into a remote machine
I have the exact same Emacs configuration on a local and remote machine, and when I run M-x ansi-term or M-x term on each of them individually everything works great.
However, if I run any of these ...
2
votes
0answers
35 views
ssh-add -D doesn't erase stored keys from the ssh-agent
How come this happens?:
stan@tcpc:~/.ssh$ ssh-add -l
8192 e0:45:5e:cc:45:3e:17:2b:a6:54:6f:8d:53:1b:j2:e3 github (RSA)
2048 25:41:53:a6:45:5d:ac:eb:5c:45:f8:ce:42:a9:he:aa BITBUCKET (RSA)
...
2
votes
0answers
47 views
I hang when I try to ssh into a machine with my username (or su to my user)
Yesterday I was freely able to ssh into server box-a, and it seemingly froze on me today so I killed my putty instance. I am now unable to ssh into it. It ssh's but the prompt does not appear. I am ...
2
votes
0answers
323 views
The right way for dynamic ssh port-forwarding
Want my Firefox could use localhost:9099 proxy forwarded from vps server, why it doesn't it work this way? I always get bind: Address already in use
$ ssh -vfND 127.0.0.2:9099 vpn
OpenSSH_5.9p1, ...
2
votes
0answers
56 views
No communication services enabled following startup
I recently installed Parsix (Debian) on my system, and I've been struggling to figure out how to autostart my services. Of the list of services that don't run and should run are:
ssh
apache
mysql
...
2
votes
0answers
301 views
How to set ssh access for user on debian?
I set groups:
usermod -G ssh username
and then I've checked account info:
id username
the result is:
uid=1000(username) gid=1001(username) groups=100(username)
Anyway if I try to login using ...
2
votes
0answers
104 views
Can emacs use gpg-agent in a terminal at all?
I understand that there are problems with getting pinentry-curses to work with emacs (see some of the comments on http://emacswiki.org/emacs/EasyPG), and so using emacs in a terminal isn't compatible ...
2
votes
0answers
398 views
Launching app over SSH with DISPLAY when user not logged in
After searching and searching without any luck I'm hoping someone here can enlighten me.
I have a PC (Ubuntu with encrypted home dir). I wake this PC up from a shell script on my phone, the PC shows ...
2
votes
0answers
96 views
Why do I get a different RSA fingerprint when multihopping using ProxyCommand
I'm using the following config to connect to multihop to the target host (gw2 and target have my public key stored in the authorized_keys file ; no netcat on all systems):
Host gw1
HostName ...
2
votes
0answers
1k views
SSH: I have a *.pem private key. How to create a SSH connection using it?
I tried to use putty also. I select this pem key there and got this:
Unable to use key file "key.pem" (not a private key).
I read that it is possible to convert a pem to a pub key. I did it like ...
2
votes
0answers
223 views
Looking for information on the FISH protocol
What I have found about fish:// (the kio protocol) is old and often incomplete. Is there anything that's new? Like a primer? Or is this something to put on the KDE todo list?
1
vote
0answers
10 views
pdsh command failed with connection refused
I'm able to remote login the target host with ssh. But when I execute a command through pdsh, it fails with connection refused. Both systems are sles11.
I found a description of the error on this ...
1
vote
0answers
29 views
ssh will sporadically hang temporarily on fast connection
I am using Ubuntu 13.04 on my laptop, connected to my router at home. When working from home, I will ssh into the servers on campus, through a vpn, with X11 forwarding.
ssh -X ...
1
vote
0answers
62 views
how to run ssh -t user@remote 'sudo nohup bash -c “comand”' in background
I want to run a script on a remote host with sudo priviledge,
someone suggests that I should use nohup and ssh -t, like the following command
the script ls;sleep 10;echo finish is crafted here to ...
1
vote
0answers
74 views
Using sshpass, return code (exit status) differs for reasons unknown using valid commands
There are a few things going on here but I think ultimately, either CLish or SSH is returning an exit code that is messing up my work flow.
I'm attempting to connect to a remote machine (CLish shell) ...
1
vote
0answers
61 views
preventing the screen from being cleared when exiting an ssh session
I have rdist set up to push out some of my dot files to all the remote machines that I need to ssh into. I also have zsh as my default shell on all of those machines.
When I ssh into a machine and ...
1
vote
0answers
44 views
Why isn't hydra being disconnected?
I have SSHD running on port 5800 on some machine. (It is a my machine at home.)
If I run this manually in a terminal:
# ssh someIP -p 5800
The connection is lost because I am disconnected after 3 ...
1
vote
0answers
62 views
Provide passphrase to plymouth ask-for-password from command line
I'm working on booting a headless server (Fedora 16), entering the passphrase to decrypt the root disk (LUKS) over SSH using dropbear. I've got dropbear all working: I can SSH to the server while it's ...
1
vote
0answers
58 views
ubuntu:terminal+ssh+vim, resize
Background:
OS:ubuntu 12.04
Display: two, one is laptop, and another is a extended monitor, which is bigger.
Problem:
Open a gnome-terminal in the bigger display, and log on the remote Linux ...
1
vote
0answers
137 views
SSH to machines in new subnet - connection timeout
I'm using RHEL4 and RHEL5.
A new group of Linux machines are setup recently using 172.16.32.0/24. The existing RHEL machines are running on 172.16.1.0/22 and 172.16.4.0/22. When I try to ssh from ...
1
vote
0answers
193 views
Use dd to backup disk image within an OpenVZ container
I want to use dd to backup the disk of an OpenVZ VPS in addition to traditional cold tar backups. Because I may need to migrate to a different VPS provider.
From end user point of view, OpenVZ ...
1
vote
0answers
70 views
Debootstrap and SSHs server
I got a NAS server, a synology. To be able to configure web server better than DSM can do (DSM is synology linux like), I have installed a debian via deboostrap.
My web server works really fine on the ...
1
vote
0answers
120 views
Making ChrootDirectory directory writable by SFTP user
If a user logs into a machine via SFTP, one can make use of ChrootDirectory keyword to give an illusion that user is in a root directory. But that directory is only writable by root user. I would love ...
1
vote
0answers
48 views
Client-server app for sending and monitoring asynchronous jobs
I am looking for a desktop app/IDE in which you can:
Maintain a list of UNIX/Linux connections
Be able to write a script locally in a local editor, not SCP files to the host or writing them on the ...
1
vote
0answers
1k views
What's this SSH error about “incorrect RSA1 identifier” and “unspecified GSS failure”?
How can I fix this SSH problem?
SSH debug errors
When issuing ssh -vvv user@host the output includes the following debug messages:
[...]
debug3: Incorrect RSA1 identifier
debug3: Could not load ...
1
vote
0answers
39 views
Run a script (for an app GUI) when logged from NX but limit shell commands on terminal
I have a user which will be accessing an app GUI via NX NoMachine. I want to allow this user to execute the command to bring up the app GUI (done automatically by NX) BUT prevent him from executing ...
1
vote
0answers
274 views
How to efficiently use Console2 with screen/tmux/byobu?
I'm using Console 2 and msysgit's bash to SSH into my Linux machines. There, I'm using screen (but considering tmux and/or byobu), but currently simply with one single-terminal session per ...
1
vote
0answers
221 views
Launch X11vnc server on Ubuntu remote desktop through SSH
I have a Windows computer and I am currently connected to a Ubuntu 12.04 system through SSH using CRT on my Windows computer.
I would like to know the commands that I need to run from my SSH session ...
1
vote
0answers
345 views
ssh: “Error reading response length from authentication socket”
I have a Makefile with some ssh and rsync commands. All of them are executed correctly, but give the following error message:
Error reading response length from authentication socket.
I don't like ...
1
vote
0answers
143 views
Create multisession ISO image to burn on a remote CD
I need to be able to take a number of files on one machine and generate a .iso image to burn to a multisession CD-R that has already had a session written to it. I can easily create an image for the ...
0
votes
0answers
7 views
Iptable rule to ssh over the internet
I've a server abc.example.com and a remote desktop zzz.example.com. I'm using SSH over a custom port, say, 6789. Whenever my firewall is off, I'm able to connect to the server successfully. But, as ...
0
votes
0answers
28 views
PBX randomly loses network connectivity and restores itself
I'm using a QBX appliance, which is just a microATX desktop system with FreePBX connecting to asterisk and some other slapped together stuff running on CentOS 5.4. It's horribly out of date (which I ...
0
votes
0answers
32 views
I'm able to remotely ssh into Cygwin on XP, but it warns “Could not chdir to home directory” and my /bin is almost empty
I've made a firewall exception, opened ports 22 through 443 to the correct internal IP (I think), and am able to log in using my external IP, but it's like I have very limited view access to almost ...
0
votes
0answers
54 views
Why can't the sudo user overwrite files by SFTP?
What permission is needed to let user (sudo) overwrite the files on my VPS over SFTP?
0
votes
0answers
56 views
Local host always being added to /etc/hosts.deny when trying to SSH
I have a rather odd problem with my server. For some reason the local hostname for my workstation keeps getting added to the /etc/hosts.deny and when I try to SSH I get:
ssh_exchange_identification: ...
0
votes
0answers
80 views
In Centos 6.3- Configuring ssh for a grid server service
I am running a gridserver setup with 5 interconnected machines, I am now adding the 6th.
each has it own ip address on a separate router/switch starting at 192.168.2.100 -192.168.2.106.
The newest ...
0
votes
0answers
179 views
Open alternative to crashplan friends
Is there a native linux alternative to "crashplan friends" http://support.crashplan.com/doku.php/getting_started/back_up_to_a_friend? The concept is that files are syncronized (backuped) to remote ...
0
votes
0answers
111 views
Host reachable via SSH from my desktop but not my laptop
I try to use ssh to log in to a remote host.
This works for my Ubuntu desktop, however, it fails from my Fedora 14 laptop.
The failure means after I type ssh username@host and pressed Enter, ...
0
votes
0answers
139 views
FreeNX on Ubuntu: “The connection with remote server was shut down.”
I've been using FreeNX on my Ubuntu machine for many months and just yesterday I've begun having troubles using it. What happens is that the FreeNX client (which is on my Windows machine) would ...
0
votes
0answers
107 views
Xdebug not working over a reverse shell
I've opened a reverse shell to my remote server to tunnel port 9000 to my local machine like this ssh -R 9000:localhost:9000 you@remote-php-web-server.com but but it doesn't work. The reverse shell ...
0
votes
0answers
159 views
Problem in using SSH tunnel
In a network, due to a reason that I don't know, I can't browse the web in Linux(In windows it has no problem). I get Error 301 moved permanently when I try to load a web page.
I decided to bypass ...
0
votes
0answers
381 views
SSH cannot connect from Remote computer after a while
I can successfully connect to Debian via SSH.
The problem is that after a while—1 or two days I think—it depends on the number of times I connect, Ii cannot connect remotely..only locally. ...


