Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17th March 2011, 09:45 PM
gangsta Offline
Registered User
 
Join Date: Feb 2011
Posts: 13
linuxfedorafirefox
ssh from virtual machine to main host

ok how do you add a rule which allows a virtual machine to connect to ssh on the main fedora host?

so connecting from a virtual machine to the main fedora host installation? I think i have to use an iptables command but not really sure
Reply With Quote
  #2  
Old 18th March 2011, 12:06 AM
motnahp00
Guest
 
Posts: n/a
windows_7ie
Re: ssh from virtual machine to main host

Are you bridging your network connection?

Make sure you have the sshd service running.

example:

host --> 192.168.1.100
guest --> 192.168.1.101

From the guest, you can type:

$ ssh -l root 192.168.1.100

Last edited by motnahp00; 18th March 2011 at 01:30 AM. Reason: typo
Reply With Quote
  #3  
Old 18th March 2011, 01:56 AM
gangsta Offline
Registered User
 
Join Date: Feb 2011
Posts: 13
linuxubuntufirefox
Re: ssh from virtual machine to main host

sorry i forgot to mention that it has to be a bash script command

i know how to ssh from terminal to terminal but i dont know the bashscript command
Reply With Quote
  #4  
Old 18th March 2011, 02:46 AM
motnahp00
Guest
 
Posts: n/a
windows_7ie
Re: ssh from virtual machine to main host

# echo "ssh -l root 192.168.1.100" > /script.sh
# chmod u+x /script.sh
# cd /
# ./script.sh

You will need to ssh one time without this script to capture the fingerprint.
Reply With Quote
Reply

Tags
host, machine, main, ssh, virtual

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KVM Virtual Host + autostart VMs locking up host doctorpacket Servers & Networking 5 16th December 2009 10:26 AM
Virtual Machine Manager: Cannot create virtual machine chris_flow Using Fedora 0 30th November 2009 03:57 PM
Virtual Machine Manager error when add a new virtual machine bizar Using Fedora 3 1st November 2009 10:37 PM
Virtual disk images (virtual box - virtual machine manager) beaker_ Using Fedora 0 2nd July 2009 01:19 PM
Mail Server with Virtual Host and Virtual Domains ssdude Servers & Networking 1 2nd May 2009 03:45 PM


Current GMT-time: 06:38 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat