LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-13-2007, 09:29 AM   #1
SVwander
Member
 
Registered: Mar 2006
Distribution: Kubuntu 7.04
Posts: 87

Rep: Reputation: 15
Another try: ssh and simplebackup


I might have posted this message before . . . but it still is confounding me. I want to use a program to backup my laptop. I have tried simple backup with ssh but I always get an error message telling me I lack permission. In the terminal what commands do I use to give it permission? Say my server is named simply "server" the file I wish to write to is /home/laptop/ I have tried:
chown -R root:users /home/laptop
chmod -R ug+rwx,o+rx-w /home/laptop
What am I doing wrong? Oh I tried simply copying a file using nuatilus while connected to the server and get about the same message.
Tim
 
Old 10-13-2007, 02:31 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
You shouldn't have to modify any permissions. You just log in with

ssh ip address

and it should ask your for your password on the other machine. Of course, you need an account on the ssh server. And as you are working with accounts, your permissions will be limited to what your user is allowed to do, i.e. you will normally have access only to your home directory on the ssh server.

By the way, I don't use ssh for backups. I have set up a proftpd server so that I can transport my data over ftp. This has the advantage that you can do everything from a GUI as if you were downloading from an internet site.
 
Old 10-13-2007, 08:05 PM   #3
SVwander
Member
 
Registered: Mar 2006
Distribution: Kubuntu 7.04
Posts: 87

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jay73 View Post
You shouldn't have to modify any permissions. You just log in with

ssh ip address

and it should ask your for your password on the other machine. Of course, you need an account on the ssh server. And as you are working with accounts, your permissions will be limited to what your user is allowed to do, i.e. you will normally have access only to your home directory on the ssh server.

By the way, I don't use ssh for backups. I have set up a proftpd server so that I can transport my data over ftp. This has the advantage that you can do everything from a GUI as if you were downloading from an internet site.
I looked at Proftpd and it seems pretty complex but I will study it a little more.

I did get my permissions worked out and sbackup test function to work. I actually was able to backup my desktop system using the program BUT not my laptop. The ssh test function worked but instead of sending the backup to the server it simply copied it to /var/backup/ Not what I wanted at all. I have been told to try rsync but the manpage for it is overwhelming for someone just learning the ropes . . . and often having to RELEARN because my memory isn't what it used to be. I will keep on working on it and see if I can understand Proftpd.

Tim
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
open-ssh vs. commercial ssh (tru64), public-key auth not possible? cf050 Linux - Networking 8 03-28-2012 12:15 PM
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 03:50 AM
setting up an ssh soxy or local ssh tunnel from within an ssh soxy Mangenius Linux - Networking 0 03-05-2007 04:15 PM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 12:53 PM
Passwordless SSH with SSH commercial server and open ssh cereal83 Linux - General 7 04-18-2006 01:34 PM


All times are GMT -5. The time now is 04:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration