Recently I have had some issues with connecting from my laptop running Linux OS (Fedora 30, Xubuntu 19.04) from virt-manager to server running KVM. Virt-Manager keeps asking me for root password, which was very annoying.
The solution was simple – first I had to create ssh keys which then I needed to send to my CentOS(7) server running KVM
Generating public/private rsa key pair.
Enter file in which to save the key (/home/username/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/username/.ssh/id_rsa.
Your public key has been saved in /home/username/.ssh/id_rsa.pub.
The key fingerprint is:
The key's randomart image is:
| xxxxxxxxxx |
| x x x x x x |
| xxxxxxxxxx |
| x x x x x |
| xx xx xx x |
| x x x x x x |
| xxx x x x x |
| xxxxxxxxxxxx |
# ssh-copy-id email@example.com
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'firstname.lastname@example.org'"
and check to make sure that only the key(s) you wanted were added.
After that I was able to use Virt-Manager without any asking for password.
On February 14 the new Debian version – codename “Lenny” show up. I decided to upgrade my Debian server based on Etch.
First I made backup of /etc/apt/sources.list and next i manually changed lines:
deb http://ftp.pl.debian.org/debian etch main
deb-src http://ftp.pl.debian.org/debian etch main
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
deb http://ftp.pl.debian.org/debian lenny main
deb-src http://ftp.pl.debian.org/debian lenny main
deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib
The last thing was to update apt settings
# apt-get dist-upgrade
and the upgrade process begins 🙂
Earlier i have describe how to get into Novell shares. Now I want to show how to get this under system boot.
As we know the /etc/fstab file contains information about our partition and mount points,
[file system] [mount point] [type] [options] [dump] [pass]
Now, we have to add information into /etc/fstab about Novell shares like this:
server/user mount_point ncpfs options 0 0
NOVELL/JOE /media/novell ncpfs rw,user,passwdfile=/etc/ncppass 0 0
In /etc directory we have to create a file wich will contain information about our Novell login and password. The information should look like
The last thing to do is to restart your server and enjoy Novell shares in Debian 🙂
I decided that I will describe things that I do in my work.
Lately I have got to get into Novell shares to make backups of all user document etc. I decided to use Debian.
In general I have to get installed two packages from Debian repisitory:
# apt-get install ipx ncpfs
After that I have to add to the network interface capablity to connect via IPX
# ipx_interface add -p eth0 EtherII
# ifconfig eth0
we can check if option IPX/Ethernet show up. Next, by using slist, we can list available Novell servers in our network.
Next thing to do is create a directory where we can mount our Novell server shares. We can do it either in /mnt or /media.
# mkdir /media/novell
Last thing to do is mount Novell share like this:
# ncpmount -S server_name -U user_name -P password path_to_dir
After that we can finally use Novell shares under Debian 🙂