Re: rsync error... can i ask for help here??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



doh...

never mind...

didn't know you could do ssh like that!

ssh test@192.168.125.133 pwd
test@192.168.125.133's password:
/home/test

lord!



On Fri, Apr 17, 2020 at 12:51 PM bruce <badouglas@xxxxxxxxx> wrote:


On Fri, Apr 17, 2020 at 12:39 PM C. Linus Hicks <linush@xxxxxxxxxxxxxx> wrote:
Again, you need to read more carefully. You missed the point of this exercise:

You were asked: "what does ssh  test@192.168.125.133 pwd   return?"

But you ran: "ssh  test@192.168.125.133"

The difference is subtle but it's there.

Linus...

Umm.. I'm missing something here then...

I thought the OP was asking to run the basic ssh cmd and then to provide the passwd

If I'm missing something.. what's the OP wanting me to run?

in other words, just what should I be running for >>> ssh  test@192.168.125.133 pwd






 
-----Original Message-----
From: bruce
Sent: Apr 17, 2020 12:13 PM
To: Community support for Fedora users
Subject: Re: rsync error... can i ask for help here??

Hi Roger,

what does ssh  test@192.168.125.133 pwd   return?

Yeah, I had started to question if basic ssh was the issue!

ssh test@192.168.125.133
test@192.168.125.133's password:
Activate the web console with: systemctl enable --now cockpit.socket

Last failed login: Fri Apr 17 11:30:42 EDT 2020 from 192.168.125.1 on ssh:notty
There were 2 failed login attempts since the last successful login.
Last login: Fri Apr 17 08:12:35 2020 from 192.168.125.1

works as it's supposed to .

baby steps!




On Fri, Apr 17, 2020 at 12:02 PM Roger Heflin <rogerheflin@xxxxxxxxx> wrote:
what does ssh  test@192.168.125.133 pwd   return?

On Fri, Apr 17, 2020 at 10:55 AM bruce <badouglas@xxxxxxxxx> wrote:
>
> rsync -avz  /home/test/cat  test@192.168.125.133:/home/test/cat
> test@192.168.125.133's password:
> sending incremental file list
> rsync: change_dir "/home/test/cat/ /home/test" failed: No such file or directory (2)
>
> sent 18 bytes  received 12 bytes  6.67 bytes/sec
> total size is 0  speedup is 0.00
> rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]
>
> the weird thing:::
> I'm running this as user "test"
> I'm running from the "/home/test/cat" dir..
>
> could this be some sort of permissions thing??
> /home
> drwxrwxrwx  33 test       test         4096 Apr 17 11:23 test
>
> /home/test
> drwxrwxrwx   7 test test     4096 Apr 17 11:00 cat
>
>
>
>
>
> On Fri, Apr 17, 2020 at 11:41 AM C. Linus Hicks <linush@xxxxxxxxxxxxxx> wrote:
>>
>> Generally speaking, when your destination directory is within the home directory of the destination user, you would not specify full path, as in:
>>
>> rsync -avz  /home/test/cat  test@192.168.125.133:cat
>>
>> Also, you probably don't want to copy the directory into a directory of the same name, so your command would probably more appropriately be one of these:
>>
>> rsync -avz  /home/test/cat/ test@192.168.125.133:cat
>>
>> rsync -avz  /home/test/cat  test@192.168.125.133:
>>
>>
>> -----Original Message-----
>> From: bruce
>> Sent: Apr 17, 2020 11:28 AM
>> To: Community support for Fedora users
>> Subject: Re: rsync error... can i ask for help here??
>>
>> ok..
>>
>> as user "test" on the local machine. there's a test on the remote as well
>> each local/remote has the dir /home/test/cat, and /home/test/cat1
>> all dirs are owned by user 'test' and have '777' to make sure no weird errs happen due to owner/perms
>>
>> this works:
>> rsync -avz  /home/test/cat  /home/test/cat1
>>
>> this doesn't
>> rsync -avz  /home/test/cat  test@192.168.125.133:/home/test/cat
>>
>> generates error::
>> test@192.168.125.133's password:
>> sending incremental file list
>> rsync: change_dir "/home/ /home/test" failed: No such file or directory (2)
>>
>> sent 18 bytes  received 12 bytes  5.45 bytes/sec
>> total size is 0  speedup is 0.00
>> rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]
>>
>> unless rsync cant be used with ssh/password.. can't figure out why this is failing
>>
>>
>>
>> On Fri, Apr 17, 2020 at 11:15 AM Kai Bojens <kb@xxxxxxxxxx> wrote:
>>>
>>> Am 2020-04-17 16:41, schrieb bruce:
>>>
>>> > I've got an rsync error that I can't seem to resolve.  Did the
>>> > google/testing etc.. no dice so far. Even did the irc centos chat...
>>> > what a clusterphk.
>>>
>>> Please state the nature of your rsync emergency.
>>> _______________________________________________
>>> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
>>> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
>>> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>>> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
>>
>> _______________________________________________
>> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
>> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
>> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
>
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux