SSH into virtual machine
location: ubuntuforums.com - date: March 29, 2009
I would like to use SSH to access virtual machines running on a headless server.
I only need to get to them from LAN, not the Internet.
How can I do this?
How to set up ssh to allow users to ssh into the machine
location: linuxquestions.com - date: May 31, 2009
This is my first attempt at setting up a server. I have just installed Ubuntu Server 8.04 fresh from the CD. I have a fixed IP address. I just cannot seem to be able to ssh into the darn thing.
From a Solaris unix box, I get the message
"Local: Bad packet length 1349676916."
From a SuSE Linux box, I get the message
"Read from socket failed: Connection reset by peer"
From a mac box, I get the message
"Connection closed by 'IP address'"
I can ssh out to another server just fine. I don't know what to even do.
Doing ssh to Virtual machine (uses RHEL 4 thru VMWARE in Windows XP)
location: linuxquestions.com - date: January 28, 2010
I am struggling to connect my Virtual machine in VMWare (RHEL) from another machine or even from my host machine (XP) using Cygwin. I want to do ssh/scp to the virtual machine using the Virtual machines ip address. I have tried various setting for VMWARE connection(Network Adapter setting) like Bridged/NAT/Custom. But am not able to connect to guest OS from outside. But I can connect from inside Virtual machine to other Linux machines thru ssh. Please help me out in that.
Thanks in advance!
[SOLVED] shell script to ssh into another machine and execute commands
- date: April 28, 2012
So have a problem that I thought would be easy to solve. It isn't apparently. I have 6 machines all linux based that back up to a centralized NAS using rsync. This is all fine and dandy, but doesn't give me versioned backups.
Currently my backup scripts look like this:
rsync -e ssh -varuzP --delete --exclude ".*" --exclude "Ubuntu\ One" /home/olithraz [email protected]
This works great and I haven't had any problems. It uses chron to run it every 24 hours.
What I want to do, is before it gets to the rsync part of the script is the following:
ssh [email protected]
(uses rsa keys so no password needed)
rm -rf day7/
mv day6/ day7
mv day5/ day6/
mv day4/ day5/
mv day3/ day4/
mv day2/ day3
cp day1/ day2/
In effect giving me 7 days of backups. However, I cannot seem to get it to execute commands after sshing... How would I go about doing this or is there an easier way to ac
*Perl* ssh into remote machine and execute parallel copy operation to network drive
location: linuxquestions.com - date: August 23, 2009
Hi I have a remote machine that has a mounted network drive.
I am trying to create a script that ask me for the name of folder I wish to copy, ssh into the remote machine and have it start the copy operation.
parallel/concurrent copy is needed as I have a time constraint.
here is what i have for now in my script in "perl" if it matters....
print `ssh -t -x rocup@factory "cp -rf $folder1/ /NFS; cp -rf $folder2/ /NFS; cp -rf $folder3/ /NFS"';
I also tried
print `ssh -t -x rocup@factory "cp -rf $folder1/ /NFS & cp -rf $folder2/ /NFS & cp -rf $folder3/ /NFS &"';
print `ssh -t -x rocup@factory "nohup cp -rf $folder1/ /NFS;nohup cp -rf $folder2/ /NFS;nohup cp -rf $folder3/ /NFS"';
the above operations copy one by one and it takes over an hour to do it, Im hoping that I can trim down the time a bit by doing a concurrent copy
the host factory does not have private/public key setup, so i cannot do a
SSH to Virtual Machine
location: ubuntuforums.com - date: August 30, 2012
what are the advantages to connect to VM via ssh from host operating system. I saw many tutorials about it, often it is first step after installing Linux on VM when someone wants to create development environment on VM. Why just don't use that VM like normal system?
how to ssh into windows machine from Linux box
location: linuxquestions.com - date: September 4, 2007
I have 2 machine viz a Linux with cent-os 4.4 and other with windows xp.
I have cygwin installed on my xp machine and sshd running on it.
I want to do authentication less communication between xp machine and my Linux box. I can genererate keys using ssh-keygen utility and achive the same. My query is
- How do I ssh into xp machine ??
- Do I need any other ip or my existing ip for xp machine will do ??
- What else I need to set on both machines ??
Thanks in advance
Can't ssh into ubuntu machine?
location: ubuntuforums.com - date: February 5, 2011
I am running 10.10, and tried to follow https://help.ubuntu.com/community/SS...SH/Configuring to get the ssh server running. The only change I made to the default config file was to enable verbose logging and to disable password authentication.
Then I tried using putty on my windows machine to ssh in. I am able to get a login prompt, but after I type in my username putty gives me a "Disconnected : No supported authentication methods available."
Here are the log messages. I stopped the server, started it again, and attempted a login with putty:
$ sudo /etc/init.d/ssh stop
* Stopping OpenBSD Secure Shell server sshd [ OK ]
$ sudo /etc/init.d/ssh status
* could not access PID file for sshd
$ tail /var/log/auth.log
Feb 6 10:52:47 hnh-nas sudo: jesse : TTY=pts/0 ;
Requiring public key in order to SSH into a machine
location: linuxquestions.com - date: October 31, 2011
I'd like to make it necessary to have a public key in order to SSH into a machine. Meaning if you try to brute force the password, even if you guess the password correctly you won't be able to use it because you don't have the public key of the SSH server. My first question is whether this is the recommended best practice, or should I continue to allow the choice of a public key or the password? (The only problem I see with key-only authentication is that if I somehow lose my client's private key I can no longer log into my server...)
Currently my setup allows for passwordless SSH authentication if you have a public key, but it also allows for a username and password without the public key and that works too (which isn't what I want). Which of the following do I need to set in order to enable the public key-only functionality? Different tutorials list different combinations of the settings below - if someone could tell me the bare minimum I need to change in order for it to work, that
SSH to virtual machine running on other laptop on home network.
location: linuxquestions.com - date: July 16, 2014
At home I have wireless network throught router, 192.168.1.1.
I have two laptop running win 7. Both have VMWare workstation running OEL(Oracle enterprise linux) Virtual machine. I want a VM of Laptop A to be able to do SSH to VM of laptop B. I am able to do ssh from laptop to the VM on the same laptop, not able to do SSH to other laptop's VM.
Using Bridged Network card.
Any help is appreciated.
Page: 1 2 3 4 5 6 7 8 9 10