Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I have a PC with OpenSuse 11.1. Beside root there are two other users on the system.
Now I have installed a new PC with OpenSuse 11.2. Only one user is set up until now. I installed the hard disk from OpenSuse 11.1 into the new PC on IDE Primary Slave, because I wanted to copy some files from the old system. OpenSuse 11.2 has mounted the old disk automatically in /media/disk and /media/disk-1.
The problem is that I can’t find any files or directories from the users. I could find only one file from root in /media/disk-1/root/Desktop.
Why can’t I see the files? Does it have anything to do with UID or SUID?
Well, I worked as root on the OpenSuse 11.2 system to copy the files, but I can’t find them. I installed the disk with OpenSuse 11.1 back to the other system and checked the permissions and they are all set to –rw-r—r--.
Any other suggestions?
Before I had the idea to connect the old hard disk to the new PC, I tried to transfer the files via the network. I tried samba, NFS, FTP and now scp, but nothing worked. I can ping each PC, but I don’t know how to set up the other services. Maybe I must configure the firewall?
hardware firewalls usually do not apply to internal traffic. Only external traffic. However if the PC's themselves have a firewall like iptables installed then that could be a problem. on the old PC install openssh by running this command as root.
Code:
yum install openssh-server
Once you have openssh installed scp should work just fine. The first time you run scp you should get a message about accepting the RSA certificate and you must type yes or no to continue. then it should prompt for a password. Once you enter the password it will transfer the file. Here is an example of what I am talking about.
Code:
TESTLAB:~# scp root@10.1.1.20:/home/jared/Downloads/README /root/
The authenticity of host '10.1.1.20 (10.1.1.20)' can't be established.
RSA key fingerprint is e1:63:44:61:a5:3b:8e:bb:90:e3:bf:df:dd:2f:a3.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.1.1.20' (RSA) to the list of known hosts.
root@10.1.1.20's password:
README 100% 3654 3.6KB/s 00:00
TESTLAB~:# ls /root
README
TESTLAB:~#
That was the first time that machine has ever done an scp connection to 10.1.1.20 and it asked about the RSA key. From now on if I do an scp connection to 10.1.1.20 it will just prompt for the password.
Last edited by worm5252; 01-26-2010 at 04:20 PM.
Reason: typo correction
probably a different package name in the Suse repositories.
Try these and see if one of them works
Code:
zypper install openssh
or
Code:
zypper install ssh
Sorry for the confusion. Like I said, I haven't used Suse since version 10. I mainly use Debian so it is a different package manager and different repositories all together.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.