Browsing articles tagged with "ssh - 4/148 - Admins Goodies"
Oct 5, 2012
tom

How to configure RHEL so users can access an app GUI remotely

I have an application installed in my RHEL6 box that has a GUI (AppGui.sh). My problem is that a few non-tech users would like to access this GUI remotely. I’ve tried several guides over the internet but I still cant make it work. I tried: -Installing X Window System -Enabling FORWARDX11=yes in my sshd_config -Exporting $DISPLAY variable -Connecting through ssh -X user@host (simply stays there) How can I setup my box from scratch to make [...]

Continue Reading »
Oct 5, 2012
tom

How can one send commands to the “inner” ssh session?

Picture a scenario where I’m logged into a server (which we’ll call “Wallace”) from my local machine, and from there I ssh into another server (which we’ll call “Gromit”): laptop —ssh—> Wallace —ssh—> Gromit Then the ssh session from Wallace to Gromit hangs, and I want to kill it. If I enter ~. to kill ssh, it kills the ssh session from my laptop to Wallace, because the ~ is intercepted by that ssh session, [...]

Continue Reading »
Sep 22, 2012
tom

ssh client disconnected, after relogin, how can I recontrol my process or program?

as show below: Step 1: SSH Login to remote host. Step 2: Use gdb debug proc_a. Step 3: Use gdb subcommand (gdb) shell vi tes.c, edit the file. Step 4: The ssh client have something unknown error failure link (can not input any command to remote host) Step 5: I have to relogin the remote host using SSH. The question is how can I continue to the debug work which the Step1f going? Asked by [...]

Continue Reading »
Sep 20, 2012
tom

What are the pros and cons of SSH and HTTP for a git server?

I want to setup a git server. I have found several how-to’s, well detailed. Some describe the installation for a git-server accessible thru Ssh, while others, accessible thru HTTP. ( Others even advise tools like gitolite ). Are there pros or cons choosing over SSH or HTTP? It seems that by HTTP, the file transfer is significantly slower, but I wonder if there are other things to keep in mind. What is the most common [...]

Continue Reading »
Sep 19, 2012
tom

Confusion over terminology SSH, Shell, Terminal, Command Prompt and Telnet

I don’t usually use SSH if I can get away with it, but if I have to I do of course, and I’ve seemingly done this for years while still managing to remain slightly confused about these different terms … from my basic research, this is my understanding, could someone verify/correct this? Telnet … before SSH, not secure SSH … ( secure shell ) the general name of the system/protocol Shell … short name for [...]

Continue Reading »
Sep 16, 2012
tom

Cannot login as root to centos server

I used to login as ssh root@servip with a password authentication into my CentOS 6 server. I am not sure if what I have done has caused this, but while trying to get over my problem of accessing webmin remotely I followed the following tutorial until I reached: adding auth required pam_google_authenticator.so into /etc/pam.d/sshd. Then by mistake, I have closed the ssh session. When I tried to login in back with the usual password, I [...]

Continue Reading »
Sep 9, 2012
tom

Creating multiple SFTP users for one account

I’m in the process of migrating an aging shared-hosting system to more modern technologies. Right now, plain old insecure FTP is the only way for customers to access their files. I plan on replacing this with SFTP, but I need a way to create multiple SFTP users that correspond to one UNIX account. A customer has one account on the machine (e.g. customer) with a home directory like /home/customer/. Our clients are used to being [...]

Continue Reading »
Sep 9, 2012
tom

Any script/tool for automated website deployments to production including minifying CSS/JS?

Currently I’m deploying my PHP website from staging to production using the following manual process: Minify CSS and JavaScript files using online YUI compressor tool. Move the original CSS and JavaScript files into another directory (to back them up) then replace them with the minified CSS and JavaScript CSS files. Start copying all the files from my staging server to my Windows PC. Delete staging .htaccess and index files so they don’t get copied to [...]

Continue Reading »
Aug 28, 2012
tom

alternative to Clusterssh for managing multiple SSH server

Is there any alternative to Clusterssh,pssh etc? to manage multiple ssh based servers through one interface? one weakness in Clusterssh is that my servers use key based authentication, with passhprase to login, and there is no way to login to servers using the private key. Is there any alternative available which supports authentication with Private keys? Asked by Frank Take a look on Rundeck – http://rundeck.org/ Answered by Tom Check more discussion of this question. [...]

Continue Reading »
Aug 27, 2012
tom

Use iptables to forward ssh

i found several tutorials on how to do it, but got none of them to work :/ My setup: FIREWALL – reachable from the internet – eth0: xxx.xxx.xxx.xxx (public ip) – eth1: 192.168.1.1 SERVER – reachable from FIREWALL – eth0: 192.168.1.5 Because I still want to be able to connect to the firewall on port 22, I would like to forward incoming connections on port 2222 to 192.168.1.5:22. ping and ssh from FIREWALL to SERVER [...]

Continue Reading »
Pages:«1234567...148»