ssh

TextMate/Macfusion combo for mounting projects over SSH

Here is my workflow: I use Macfusion to mount a server over SSH, and then edit the root directory of the project in TextMate (using mate /Volumes/server/projectdir). I have a plug in installed that disables refreshing on refresh. This works ALMOST perfectly--the only thing I have problems with is "Find in Project": it's REALLY slow. Has ...

Connecting to an RMI object without registry

I think I need to connect to a remote RMI object without going through the registry, but I don't know how. My situation is this: I'm implementing a simple job distribution service which consists of one distributor and multiple workers. The distributor has a registered RMI object to which clients connect to send jobs, and workers connec...

Can I do SVN over SSH without svnserve?

Hi, Is it possible to use SVN over SSH without using svnserve, and just the one from Tigris? Thanks, tesmar ...

SSH/Shell - Remove all folders with name "____" within folder AND subfolders

I have a script that is copying a folder that contains a couple sub folders. The original that it is copying from is part of an SVN folder, so it is copying those ".svn" folders as well. I want to remove those from the new destination, my best guess was: rm -Rf dir/*.svn Which doesn't work, is there a way to do this or do I need to ...

Missing 'read' prompt in bash when using ssh?

Please tell me I'm missing something really obvious here: $ cat ~/bashplay/f #!/bin/bash read -p 'RDY> ' x echo $x $ ~/bashplay/f RDY> direct execution direct execution $ ssh somehost ~/bashplay/f indirect via ssh indirect via ssh Note the missing "RDY>" prompt when using ssh. I see the same thing in python when using the "readline"...

Ruby - How to start an ssh session and dump user into it - no Net::SSH

So I've got dozens of servers I connect to and want a simple Ruby script that provides me with a list of those servers. Picking one will start up SSH with the proper connection details and let me start using it. That's it! But, I don't want/need Ruby to keep running. If I did I could use Net::SSH and capture all output and send it back ...

Permission denied (publickey,keyboard-interactive)

Permission denied (publickey,keyboard-interactive) got this error while i am trying to cvs checkout from perl. what is issue and how to reslove this ? Code : system ( "CSVROOT:--- CVSRSH:--- cvs co a "); # i have proper value in cvs root and cvs rsh . its running alone and using ssh key ...

Copying MYSQL backup to another server

I'm new to SSH. How to copy a .gz file from one server to another using SSH? I'm using cron to backup mysql databases and want to also automate the process of copying the .gz files a different web host. Any information on the limit of file size that can be copied would also be great. The backup file size range from 100 MB to few GB. ...

How do I shorten the repository URL using svn+ssh similar to svnserve -r?

In the svnbook, it shows you how to shorten the URL to your repositories when using svnserve as a daemon, using -r like: svnserve -d -r /usr/local/repositories That way, you can refer to the repository you need right after the hostname in the URL without revealing any of the local path (which is /usr/local/repositories/project1): svn...

Problems cloning a git repository (Newbie problems)

Hi there, Trying to set-up a git server on my local dev machine and have been following this website so far but am a little stuck when trying to clone a repository. In git bash, here's my output: $ git clone ssh://[email protected]:4837/ssh/home/Administrator/project1.git Initialized empty Git repository in C:/Git/project1/....

Setting up httpd.conf / mod_rewrite to redirect to codeigniter?

I'm sorry to ask this here, as I'm sure the solution is fairly easy but for the life of my I can't setup httpd.conf on my localhost apache server to automatically load the codeigniter files. Instead I'm having to go into the folder itself localhost/trunk/etc/etc until I get index.php - which messes with some of the relative paths (our b...

Can connect to EC2 as ubuntu user but not as the user i created

I created a new ebs backed EC2-instance and the necessary key-pair. Now I am able to connect to the instance as ubuntu user. Once i did that I created another user and added it to the sudoers list but I am unable to connect to the instance as the new user I created. I get the following error. I am using the same key to connect with the ...

Best Way To Save Data::Visual C# 2010

In advance, thank you for all of your advice... So I am building a C# app that will save SSH connection settings for users. It kind of resembles Putty allowing a user to enter multiple SSH connections. The user will be able to recall these settings for each connection when launched. I have been Googling today to determine the best way ...

not getting output from parmiko/ssh command

I am using paramiko/ssh/python to attempt to run a command on a remote server. When I ssh manually and run the command in question, I get the results I want. But if I use the python (co-opted from another thread on this site) below, there is no returned data. If I modify the command to be something more basic like 'pwd' or 'ls' I can the...

SSH Chown problems

I have a webserver with multiple domain and user accounts setup. Recently I renamed one of the domain names and changed it's username correspondingly. However, this new user cannot access the data from the domain because it does not have the required permissions. How can I solve this problem? I've tried chown and I still cannot get acce...

SSH copying folders

I have a folder on my server that I'd like to copy to another directory. However, after I copy it and navigate to the new folder, some of the directories are RED and I can't navigate into them. I think this has something to do with them creating links instead of actually copying the folders. cp -a site2.com/httpdocs site1.com/httpdocs ...

AWS Amazon EC2 - password-less SSH login for non-root users using PEM keypairs

We've got a couple of clusters running on AWS (HAProxy/Solr, PGPool/PostgreSQL) and we've setup scripts to allow new slave instances to be auto-included into the clusters by updating their IPs to config files held on S3, then SSHing to the master instance to kick them to download the revised config and restart the service. It's all worki...

ruby ssh: interactive command "su": How further after successfull logged in?

Hi I want work on a remote maschine within an ssh session: login on the remote server su make my work With my script a can do step 1 and 2 works. While executing the su command, I can send the password, and got the answer I'm expecting ( on_data: data = gis@v04ree:~> got gis@v04ree:~> But then, what should I do? I'm sitting ...

how to get files as they are added to a remote server

I am using a bash script (below) on a remote server (so far using ssh to connect) to execute a python script that downloads a lot of pdf files one at a time (getting the download locations from a text file with the URL's) in a loop. I would like to move the files from the remote server to my local computer as they are downloaded, and th...

Emacs on Windows + SSH: subshell spurios characters?

Hello, I'm trying to connect via SSH to a remote shell, using Emacs on Windows XP. I'm currently using Putty, but I'd like to switch to Emacs. I can't find a way which works right. The best I've achieved is running Plink (command line version of Putty) as a subshell, but I'm still getting spurious characters and duplicated prompts like...