I am using Git Version Control witht he JGit Plugin for the eclipse IDE. when I changed the location of my repo, and when to push to the new repository. I am receiving the following error message.
Cant connect to any repository:
git+ssh/username@remoteIPAddressgoeshere/srv/wma/git
Transport error occured during push operation:
Java.IOException: Channel is Broken)
Hi!
We have a few servers with SSH public (using sFTP).
Obviously, the attacks ar too many.
We want put the banned logs into a MySQL DB for make stats and etc.
Have anyone tryied this?
Thanks
We have our class libraries on a shared server we access via Samba (and ssh for command line). Sadly, several features seem to fail in both Flex Builder and Flash Builder/Gumbo with this setup. For example, we no longer get automatic syntax and error checking. Anyone familiar with this issue and able to suggest a solution? Thanks!
I am trying to create an application to take advantage of OpenSSH to create an sFtp client for the iphone. I know that it is possible to create ssh clients for iPhone (iSSH, TouchTerm, etc) and I also assume they are using openssh as a base.
Would I just need to create a static library?
I want to get the "free memory" of a bunch of servers like this:
def get_mem(servername):
res = os.popen('ssh %s "grep MemFree /proc/meminfo | sed \'s/[^0-9]//g\'"' % servername)
return res.read().strip()
since this can be threaded I want to do something like that:
import threading
thread1 = threading.Thread(target=get_mem, args=("server01", ))
thread1.start()
But now: how can I access the return value(s) of the get_mem functions?
Do I really need to go the full fledged way creating a class MemThread(threading.Thread) and overwriting __init__ and __run__?
I'd like a simple and secure system to have allow users in our network to have their account (e.g., 'myname') work on every machine in the network (e.g., such that they could ssh to any machine and have the same userid, mounted smb share). Any suggestions?
Hi folks,
I'm trying to run an app from a remote X session (Ubuntu, 9.04) on a handheld device powered by Windows Mobile. I want to do this by running an X-server of some description on the mobile device and using SSH/PocketPuTTY or similar for a tunnel, as you'd do it on a standard PC/Mac.
Can anyone pls. point me in the direction of some X servers for Windows Mobile, if they exist? Having a hard time finding them.
Cheers
In the installation instructions for Yii it is nescessary to use console and command line utility - yiic.
Well, on my shared hosting I don't have ssh access.
This is why I have following questions:
How often and for what reasons will I have to use console?
Is there a way to avoid using yiic?
May I run yiic on local server and then just transfer everything to the final web server?
Thanks!
I'm building a Qt application that needs to use libssh, a SSH client library. libssh (understandably) performs its own network connections, however Qt has its own infrastructure for network connections (QTcpSocket etc).
Should I worry about these differences? Should I be trying to make libssh make network connections via QTcpSocket... Or if it works fine on the platforms I'm targeting, is that good enough?
Hi,
I am running multiple screens from one ssh connection, when I list all of the screens via screen -ls the names are not very descriptive and when I have multiple screens it becomes hard to remember what is running on each. Does anyone know how to name these sessions (preferably when creating the screen).
Thanks
I'd like to start Firefox for example with no display associated and eventually take a screenshot with import.
Can I in fact make it periodically with cronjobs?
I'm now making a ssh -X connection, take the xwininfo for the window started in background and everything's OK. But I'd like to automate it.
Hi!
I was wandering if it's possible to run an Ubuntu virtual machine using VirtualBox in background, I mean, without any window open.
The idea is to conect via SSH to the linux host, that would be running in background.
Have you ever done somenthing like this? Is it possible?
Thanks!
Hi All,
I am trying to initiate git on my remote server using ssh. When I run
git init
On the server in a folder I have write permissions to I get the following error.
.git: Permission denied
Do I need to assign any other permissions on that folder to be able to create the repository?
Thanks
Hi,
does someone know a good cross reference engine like LXR, but written in PHP? My provider has PHP and MySQL as well as Postgres DBs, but neither I have access to Perl nor via SSH. I'd like to put up a online cross ref for my Software which is written in C.
Thanks for helping!
Dan
I have ubuntu 10.04 installed on my machine. I want to execute commands on remote windows xp machine ( I have username and password of admin account of remote machine ) so as to launch application like Internet Explorer, Notepad or some bat script. Is there any command line utility to do this via ubuntu? I tried rdesktop, winexe, ssh, telnet but they are not much of use. Can you please suggest some other way?
Hi. I'm trying to do the following in a bash script:
com=`ssh host "ls -lh" `
echo $com
It works, but the echo will break the output (instead of getting all lines in a column, I get them all in a row).
If I do: ssh host ls -lh in the CLI it will give me the correct output + layout.
Any ideas?
I'm looking for a log viewer with similar capablilties as Chainsaw, in which I can tail Glassfish log files over for instance SSH/SCP. Does anyone know if such a tool exist?
hi i wonder if there are some GUI softwares to administrate a svn repo?
or do you actually have to log into the ubuntu server with ssh and use all the svn commands to copy the trunk to a branch, merge the data back and forth, copy to a tag, delete and so on.
im using netbeans in mac. i think it's only handling the communication between a local project and the repo. not the flows between trunc, branch and tag (creating, deleting, viewing differences etc)
If there is any possibility to use the parameters in zsh aliases? Something like this:
alias ssh_nokia="ssh root@<ip_parameter>"
Usage:
ssh_nokia 192.168.1.2
I follow the instruction on http://lucene.apache.org/solr/tutorial.html and I can setup Solr on my PC.
Now when I come to my VPS I cannot overcome the step: $ java -jar start.jar
Afer running that command, search service is available at http: //x.x.x.x:8983/solr/select .
But, Whenever I close the SSH client, the service on http: //x.x.x.x:8983/solr/select is also closed. So I can't search any more.
What should I do? Thanks for any help.
I search for way to synch my local code with server on debain linux. For example i modify some files, then i can run synch command, and only changed files send to server (using ssh for ex). Can you help me with good light solution for this?
So far Ive managed to download and install the SDK and its in my PATH. Problem now is that I can't run "android update sdk" since it expects to be connected to a display and Im connected to a remote headless server through ssh (its a build server so there's no desktop env). Is there a command-line option for the android tool that tells it to run without X ?
I'm setting something up to SSH out to several servers in 'batches'. I basically want to maintain 5 connections at a time, and when one finishes open up another (following an array of server IPs).
I'm wondering for something like this should I be using fork()? If so, what logic can I use to ensure that the I maintain 5 children at a time?
#!/usr/bin/expect
spawn ssh derrick@$abc123.net
expect "password"
send "helloworld\n"
send "cd /tmp\n"
send "sh rename.sh\n" # this shell script will get a list of files and rename each file
send "exit\n"
expect eof
The problem is when 'rename.sh' started and within less than 3 seconds, the 'expect' script exits while 'rename.sh' is not yet done executed.
My question is how can I make my expect script to wait for the finish of 'rename.sh' execution?