I have a automated process using python/paramiko anf have this error:
Exception in thread Thread-1 (most likely raised during interpreter
shutdown)
....
....
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute
'error'
I understand that is a problem in the cleanup/threading, but not see how fix it...
I have the l...
Is there a library for SSH in ActionScript 3? If not, I'd appreciate some ideas on how to have Flash integrate with SSH.
I have a Flash prototype programmed out, and my client wants to see some minimal integration with an SSH server. What is needed is basically:
connect
authenticate
send a few basic commands
I can't just have these ...
I inherited a legacy Perl script from an old server which is being removed. The script needs to be implemented on a new server. I've got it on the new server.
The script is pretty simple; it connects via expect & ssh to network devices and gathers data. For debugging purposes, I'm only working with the portion that gathers a list of ...
Is it possible to ssh into Windows (through a cygwin sshd) and start a program on a logged in Windows user's desktop?
Put another way, say a user ABC is logged in on windows and a remote user logs in with ABC's login/password over ssh, can remote ABC pop up an app on the local ABC user's desktop?
I am asking this on Stackoverflow and ...
I'm working with pysvn, and I'm trying to find a decent way to handle repositories that are only accessible via svn+ssh. Obviously SSH keys make this all incredibly easy, but I can't guarantee the end user will be using an SSH key. This also has to be able to run without user interaction, because it's going to be doing some svn log parsi...
Hello,
I am not much into linux, so can any body please guide me how can I check whether the apache is installed with php and mysql on ubuntu server through ssh. Also if installed in which directory.
And if in case some other package is installed like lighttpd.
Thank You.
...
Hello everybody,
I have a multi part question for a php script file. I am creating this file that updates the database every second. There is no other modeling method, it has to be done every second.
Now i am running CentOS and i am new to it. The first noob question is:
How do i run a php file via SSH. I read it is just # php path...
I am writing a GUI which uses SSH commands. I tried to use the subprocess module to call ssh and set the SSH_ASKPASS environment variable so that my application can pop up a window asking for the SSH password. However I cannot make ssh read the password using the given SSH_ASKPASS command: it always prompts it in the terminal window, reg...
Hi,
I've a Sinatra app which would be used by different clients. I wish to show the client's Company Logo and a custom layout.erb for each client.
The code base is essentially same for everyone. All I need is a way to easily maintain a different set of files in the 'Public' directory and 'layout.erb', and when deploying to the remote ...
Hi so,
I've been having a lot of problems with emacs and trying to get the terminal to work with:
M-x term
I installed cygwin and I fixed up my .emacs to include the paths:
(setenv "PATH" (concat "c:/cygwin/bin;" (getenv "PATH")))
(setq exec-path (cons "c:/cygwin/bin" exec-path))
(require 'cygwin-mount)
(cygwin-mo...
Here is the scenario :
An ant script is launched on computer1, logged on computer2 using sshexec ant task to call a shell script that calls itself another ant script.
The main script looks like
<target ...>
<sshexec host="*" username="*" password="*" command="someShellScript.sh" />
</target>
The remote script is basic :
#!/bin/s...
import paramiko
client = paramiko.SSHClient()
client.load_system_host_keys()
ip = '192.168.100.6'
client.connect(ip, username='root', password='mima')
i, o, e = client.exec_command('apt-get install sl -y --force-yes')
print o.read(), e.read()
client.close()
i used this example.. it is working fine but i want after login server1 to log...
How would I access a webserver behind a firewall? I'm developing an application for this webserver which is not yet open to the public.
Someone walked me through this before, so I know it can be done. However, it has been about four months and I haven't been able to do it again.
I'm using Putty to connect to the remote machine. From ...
I have a script that connects to a server using ssh. While in a loop, it fails to connect to the second server after connecting to the first one. I guess I have to quit from that server to come back to the calling script. How do I quit the ssh session?
while read dbname myip
do
ssh root@$myip "mysqldump - some command " | mysql -hhost -...
When I created my SSH key while setting up git, I chose to use a pass-phrase for the key. Now, whenever I push to my remote repository (unfuddle), I get prompted for this pass-phrase. Is there some way to automate this?
...
i am using the program synergy together with an ssh tunnel
it works, i just have to open an console an type these two commands:
ssh -f -N -L localhost:12345:otherHost:12345 otherUser@OtherHost
synergyc localhost
because im lazy i made an Bash-Script which is run with one mouseclick on an icon:
#!/bin/bash
ssh -f -N -L localhost:123...
I am trying to clone a git repo that I forked in my GitHub Repository.It's a rails app. I want to clone it on my local git so that I can push it onto heroku. I generated a set of rsa keys and copied it onto my GitHUb public keys. When I try to git clone "public url" , It says public key denied. I tried an ssh [email protected] to verify my ...
(Using Vista)I'm trying to clone an app from my GitHub Repository and push it into Heroku. Okay, so I've tried to create an SSH key so many times with this:
`ssh-keygen -t rsa`
It seems to go perfectly. I have it on my C:/Users/***/.ssh folder. I now try to clone an app i forked in GitHub. When I try to clone it on the rails_apps dir...
Is it possible to connect to an SSH server through a Telnet connection?
I am trying to connect to an SSH server from Flash, but there is no OpenSSH implementation available in ActionScript. I can successfully connect to a Telnet server and execute commands.
I am not able to make any changes on the machine with the SSH server. The machi...
Installing a rails plugin using the git:// protocol is easy, you just type
script/plugin install git://server.local/my_git_repo.git
How do I install a plugin from a git repo hosted over ssh?
When I type
script/plugin install [email protected]:plugin.git
I get "Plugin not found"
I know it's not a git issue because the installer ...