Reputation
1,012
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
2 15 24
Impact
~416k people reached

Jun
28
asked What does dash “-” at the end of a command mean?
Jun
12
comment Cannot connect to my Virtual Box Ubuntu system
I have installed an nmap for windows application and scanned the Ubuntu from windows. According to its results, the 22 ssh port is open. Moreover, since I just realized that I actually can ssh to this system from windows, it seems that the issue now is "No ssh access to Ubuntu system from another Linux machine". It's getting really complicated to explain all this.. It seems that there is something blocking ssh only to this Ubuntu (ssh to other Linuxes is fine). Any ideas?
Jun
12
comment Cannot connect to my Virtual Box Ubuntu system
I've just noticed that I can telnet AND ssh to that Ubuntu system from Windows(on which the VB is running) and the connection succeeded! However I still can't ssh to that Ubuntu from any other Linux system. This is really getting strange for me..
Jun
12
comment Cannot connect to my Virtual Box Ubuntu system
Verbose output of the ssh give only the following: OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to 10.125.31.176 [10.125.31.176] port 22. I afraid it will be impossible to nmap from another machine since the rest of them are Red Hats with no nmap on them..
Jun
12
comment Cannot connect to my Virtual Box Ubuntu system
Thank you for your detailed answer! So since I have my Windows host connected to the network I used the first option, which is using Bridged Connection. I chose the "Broadcom NetXtreme 57xx Gigabit Controller" which is an actual physical controller installed on the PC. I've also checked that there are no firewall configured in Ubuntu. After starting the machine I got the exact condition I had from the very beginning.. I can ping both ways inside the network (I have few Linuxes in the network). I can ssh to all these from Ubuntu. The only problem is that I cannot ssh TO this Ubuntu system.
Jun
12
revised Cannot connect to my Virtual Box Ubuntu system
tag
Jun
12
comment Cannot connect to my Virtual Box Ubuntu system
I'm sorry for being such a noob but I'm not sure I know how to do that. Maybe you could give me some directions here? The IP of the PC on which the VirtualBox is running is 10.125.31.170 and the IP I see from the VM is 10.125.31.176 (it all appears in my question). When you say that I should reconfigure the IP, you mean that I should manually enter the TCP/IP properties for that Loopback adapter? Thank you!
Jun
12
comment Cannot connect to my Virtual Box Ubuntu system
Thank you for your answer. So regarding the first point, I do have Bridged Adapter configured. I've configured the "Microsoft Loopback Adapter", as you proposed (I had to install it on my Windows first). But then, after I restarted the virtual machine, I was not able to reach the PC from the VM and vice versa.
Jun
11
comment Cannot connect to my Virtual Box Ubuntu system
@lgarzo The firewall is not running.
Jun
11
comment Cannot connect to my Virtual Box Ubuntu system
@lgarzo I'm not sure. How can I check it? Could this be the issue, since I can ping both ways..
Jun
11
comment Cannot connect to my Virtual Box Ubuntu system
@lgarzo Yes, I've configured Network Adapter to be "Bridged Adapter" in Virtual Box manager for that machine.
Jun
11
comment Cannot connect to my Virtual Box Ubuntu system
@AlexChamberlain I've performed tail -f on that file and triet to access the machine with telnet and ssh, but nothing reflected in that log. It remained as it was..
Jun
11
comment Cannot connect to my Virtual Box Ubuntu system
@AlexChamberlain This is correct. I have an Ubuntu running on Virtual Box. Can you pleas elaborate which logs do you mean?
Jun
11
comment Cannot connect to my Virtual Box Ubuntu system
@AlexChamberlain Added as EDIT2!
Jun
11
revised Cannot connect to my Virtual Box Ubuntu system
Added ifconfig and ipconfig data
Jun
11
revised Cannot connect to my Virtual Box Ubuntu system
Added nmap output
Jun
11
comment Cannot connect to my Virtual Box Ubuntu system
Yeah, sure. I added and EDIT to my answer.
Jun
11
accepted Way to determine where certain global parameter is configured
Jun
11
asked Cannot connect to my Virtual Box Ubuntu system
Jun
10
awarded  Citizen Patrol