Skip to main content

All Questions

0 votes
0 answers
123 views

Iptables redirect outside requests to 127.0.0.1 (VirtualBox)

I have a virtual machine installed with the output: ifconfig: enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255 inet6 fe80::...
moninah's user avatar
  • 35
1 vote
2 answers
678 views

Mosh client unable to communicate to mosh server in a guest virtual machine

I'm having trouble trying to connect to mosh-server that is installed in a Arch Linux guest Virtual Machine (set up with the stack: KVM, libvirt and QEMU). I have a port forward configured with: virsh ...
Rick Stanley's user avatar
1 vote
0 answers
141 views

Taskhost Process has high CPU when using VirtualBox

I am running a Ubuntu VirtualBox-VM on my Windows 10 host machine. After the VM is running for some time (not at the beginning), the process taskhostw.exe uses much of the CPU. I normaly use ssh to ...
Twistios_Player's user avatar
0 votes
0 answers
669 views

Permission denied (publickey, password) when running mpiexec using ssh

I am implementing a simple mpi code. I am using Oracle Virtual box and have created two Ubuntu vm's one named master and the other named slave. Both are connected and can successfully ping each other ...
Abdullah Chaudhry's user avatar
0 votes
0 answers
164 views

How do I allow users to connect to private IP through static public IP address?

Before ignoring, please just read through. None of the previously asked questions helped. I have 3 VMs set up in a local data center that are running the following OS: VM1: Red Hat Enterprise Linux 9 ...
safwan's user avatar
  • 1
0 votes
1 answer
1k views

How to SSH to a Host from a VM (Virtualbox)

It is well known how to ssh into a Virtual Machine from a Linux Host machine (at least with Virtual Box). We have to set a port forward rule into the vm's network settings. After that we can simply ...
TheWesDias's user avatar
0 votes
1 answer
585 views

Cannot send file from local machine to the server using SCP despite being able to login via SSH

I am trying to send file from my local machine (Ubuntu) to Oracle VM (Oracle Linux). Command I tried is below, but it doesn’t work. I can connect to the server fine using SSH. scp -r -i /...
Goku's user avatar
  • 101
2 votes
1 answer
2k views

Can't ssh into arch linux live environment in qemu

I started arch linux in a qemu vm with guest port 22 connected to host port 60022, set the root password in the guest, and edited the sshd config in the guest to allow root logins and set the log ...
hacatu's user avatar
  • 291
0 votes
1 answer
2k views

ubuntu server image blue screened

Would anyone have a tip for running a virtual box ubuntu server image? Setting up the virtual box image seemed to go just fine, updated ok, and I did a few reboots. What I wanted to get to work was ...
bbartling's user avatar
  • 245
0 votes
2 answers
4k views

Access denied when trying to SSH into VM as root

Starting today, when I try to connect to my CentOS VM as root, using Putty, or indeed any SSH client, I can no longer login. The connection is made, but the login itself fails. I know for a fact that ...
Grumbunks's user avatar
  • 113
1 vote
0 answers
115 views

Catalina and VM Ware SSH broken Pipe

I upgraded to Catalina yesterday and now all of my SSH connections to VM Fusion (cent os) images get a broken pipe after about 5 seconds. I've tried setting Host *\ServerAliveInterval 120 within ...
Aidan Gordon's user avatar
2 votes
2 answers
2k views

Accidentally corrupted my ssh_config file on VM and can't log in anymore, can I fix this without logging in?

I am running a VM on my linux server, and I connect to it usually using SSH. I was editing the SSH configurations for this VM to try out different parameters, and last saved edit was not working. Now,...
user3570947's user avatar
1 vote
0 answers
659 views

ssh server on VM does not accept connection from outside host

I have a setup like below: qemu as hypervisor. ubuntu running as a virtual machine with two network adapters: eth0: connected to a user network. ssh port is forwarded to a port from host OS. eth1: ...
Amir H's user avatar
  • 111
0 votes
1 answer
2k views

Deny all incoming ssh (Except for one user) and allow sftp to a group of users at the same time

I want to have the following requirements for my server VM incoming SSH/SFTP connections at the same time. Please note that I don't want to restrict the incoming IPs so I want to open the port for any ...
hichkas's user avatar
0 votes
1 answer
760 views

SSH to CentOS VirtualBox from PuTtY on an External Windows System

I have created a VM on my personal machine and the VM is running CentOS and I can ssh to that machine from my local Windows 10 machine via PuTty. However, I am not sure of how to ssh to the VM from a ...
Kyle Lott's user avatar
1 vote
1 answer
481 views

how do I ssh Linux VM over virtualbox from windows

I spin up a Centos7 virtual machine over Virtualbox and trying to access via ssh from putty over windows from another machine in a same network, below are the details of my VM: IP addresses: Windows ...
piyush sachdeva's user avatar
0 votes
1 answer
503 views

Install RancherOS on VirtualBox: How to share public key to VM

For testing purpose, I want to install RancherOS on a VirtualBox VM. To install it, a cloud-config.yml file with public key is required to manage the system using SSH. What's the easiest/reliable ...
Lion's user avatar
  • 905
0 votes
1 answer
2k views

Backup plan for VMs/docker on unraid [closed]

I am considering running an unraid server (https://unraid.net/) using the virtual machine manager (basically a front end for KVM) rather than many separate machines to do tasks in my network. My ...
CellPointNetworks's user avatar
1 vote
2 answers
2k views

Linux/Google Cloud VM Instance give permissions to SSH key user

I created an SSH key to connect my google VM instance to FileZilla. But I get permission errors. For example, I want to replace the index.html. But I get: How do I get my SSH key user to have full ...
Maciek's user avatar
  • 121
1 vote
1 answer
849 views

CentOS 7 Virtualbox VM SSH Connection Suddenly Refused

I am new to linux and am working with a minimal CentOS 7 installation on a VM running on Virtualbox with a Win10 host. Up until today, I was able to use PuTTy and WinSCP to SSH into the VM from the ...
deflator's user avatar
0 votes
1 answer
2k views

How to ssh from one lxc container to another?

I'm trying to experiment with a small virtual cluster of machines to learn hadoop. I'm using LXD for this purpose. I've installed ssh servers on each vm and now need to connect from one vm to another. ...
user14660's user avatar
  • 172
0 votes
1 answer
694 views

Keys repeating when running VMware virtual machine over SSH

I have SSH'd into another machine with a command of the form $ ssh -X user@network, typed the correct password and then ran VMware's VMPlayer from terminal with the command $ vmplayer &. However, ...
Paradox's user avatar
  • 321
-1 votes
1 answer
1k views

GitLab ssh User Access Rights

I'm running a version of GitLab that I installed last fall. Unfortunately I am unable to ascertain a version number. It is hosted on Ubuntu 1404 in a VM on a Win10 host. UPDATE: Looks to be rev 9.4....
rlduffy's user avatar
  • 135
2 votes
1 answer
152 views

How to SSH to s virtual machine from s Linux host?

I have a virtual machine which I launch using following code. kvm -m 2G -hda image.raw -hdb image.data.qcow2 -redir tcp:11180::80 How can I transfer files from a Linux host to the virtual machine?
ankit kumar's user avatar
3 votes
0 answers
2k views

What can cause SSH login error: ssh_exchange_identification: Connection closed by remote host

I thought ssh_exchange_identification: Connection closed by remote host is caused by /etc/hosts.allow and/or /etc/hosts.deny, but allow's only entry is ALL:ALL and deny is empty. On my Google Cloud ...
PersonOfInterest's user avatar
0 votes
1 answer
782 views

Can't Log in to azure VM running Linux from OS X

I´ve been trying to log in to a VM running Ubuntu in Azure from OS X through SSH verification. But when I try to connect to the virtual machine I get a Permission denied (publickey) error. To create ...
user avatar
4 votes
0 answers
2k views

Simplest way to setup my own remote private git server

First of all, I've read all the git-server-setup documents on the internet, but still, there is one thing missing -- I want to setup a simple GIT server in (Ubuntu) Virtual Machine for myself, not for ...
xpt's user avatar
  • 8,851
2 votes
0 answers
969 views

Vagrant ssh fails -- after cloning the box with vagrant package

i've set up a first Vagrant box for python dev that works very well. I can vagrant ssh in that original box without issue. Trouble start when i try to create a copy of that box (with vagrant package),...
knightofni's user avatar
0 votes
0 answers
978 views

Init process consuming more than 200 percent cpu

The init process is consuming more than 200 percent of the CPU time on my vServer, which is running Debian 7. Also, my SSH connection becomes very unresponsive after a while. USER PID %CPU %MEM ...
pvorb's user avatar
  • 121
6 votes
2 answers
5k views

login process very slow over ssh to vagrant guest

Here's my problem, I have a 30-40 second delay after entering a username before I am prompted to enter a password, when I ssh into a vagrant guest VM. Setup is as follows: Windows 7 host, CentOS 6.5 ...
user225979's user avatar

15 30 50 per page