Автор Тема: SSH как да копирам файлове?  (Прочетена 7698 пъти)

kill_u

  • Напреднали
  • *****
  • Публикации: 1058
  • Distribution: Ubuntu 9.10
  • Window Manager: Gnome
  • Out of here....
    • Профил
    • WWW
Re: SSH как да копирам файлове?
« Отговор #15 -: May 01, 2010, 12:33 »
Здравейте,

Пишете темата за решена, оказа се че съм имал под ръка FileZilla. Той върши идеална работа когато е пуснат SSH сървър. Премества, копира и трие файлове в двете посоки и сравнително лесно.

Благодаря за помоща.
Активен

Всеки пост - отговор на въпрос!!!
Gnu/Linux user 411527

tolostoi

  • Напреднали
  • *****
  • Публикации: 1337
  • Distribution: Ubuntu
  • Window Manager: Unity
  • левел: авераж :)
    • Профил
Re: SSH как да копирам файлове?
« Отговор #16 -: May 02, 2010, 00:58 »
Хехе, това и nautilus и dolphin го могат, както и некъв...fish май блуфиш беше в старото кде, но пък може да не си нито с гном нито с кде на по-силната машиина.

файл се прави изпълним с команда
Код:
chmod +x ime_na_faila
а ако изкаш след това, пак да не е изпълним с минус
Код:
chmod -x ime_na_faila
Активен


... в Столичен инспекторат една година след миграцията, продължават да работят под Linux. Което, май прави "експеримента" успешен
by entusiast

kill_u

  • Напреднали
  • *****
  • Публикации: 1058
  • Distribution: Ubuntu 9.10
  • Window Manager: Gnome
  • Out of here....
    • Профил
    • WWW
Re: SSH как да копирам файлове?
« Отговор #17 -: May 02, 2010, 16:27 »
Благодаря за nautilusa. Интересното е че сега като ъплоадвам файловете чрез FileZilla нямам проблем с правата. Качвам файла в директория Torrents и от там вече rtorrent си ги тегли без проблеми.
Активен

Всеки пост - отговор на въпрос!!!
Gnu/Linux user 411527

ntrance

  • Напреднали
  • *****
  • Публикации: 696
    • Профил
Re: SSH как да копирам файлове?
« Отговор #18 -: May 02, 2010, 20:30 »
Благодаря за nautilusa. Интересното е че сега като ъплоадвам файловете чрез FileZilla нямам проблем с правата. Качвам файла в директория Torrents и от там вече rtorrent си ги тегли без проблеми.

Защото си ги качваш със юсера :) , с който се връзваш
Активен

kill_u

  • Напреднали
  • *****
  • Публикации: 1058
  • Distribution: Ubuntu 9.10
  • Window Manager: Gnome
  • Out of here....
    • Профил
    • WWW
Re: SSH как да копирам файлове?
« Отговор #19 -: May 03, 2010, 18:34 »
Да най вероятно за това е но кирилицата така и не мога да я оправя. Най интересното е следното във xorg.conf файла

Цитат
# /etc/X11/xorg.conf
# Created by KNOPPIX
# Delete this line if you don't want KNOPPIX to overwrite your /etc/X11/xorg.conf

коя точно линия да изтрия от тъпия xorg за да може да ми приеме клавиатурата, защото всеки път като я добавя вътре на следващия рестарт на lxde тя е изчезнала.
Атачвам и целия xorg
Активен

Всеки пост - отговор на въпрос!!!
Gnu/Linux user 411527

KoIoSoS

  • Напреднали
  • *****
  • Публикации: 107
  • Distribution: Slackware
  • Window Manager: Xfce4.8
    • Профил
Re: SSH как да копирам файлове?
« Отговор #20 -: May 03, 2010, 19:30 »
Аз бих grep-нал рекурсивно в /etc а видя кое го пипа.
grep -R "xorg.conf" *
Активен

it is better to solve the right problem the wrong way than the wrong problem the right way   -- Doug McIlroy
Slackware Propaganda
http://video.google.com/videoplay?docid=-5210026640879077823

kill_u

  • Напреднали
  • *****
  • Публикации: 1058
  • Distribution: Ubuntu 9.10
  • Window Manager: Gnome
  • Out of here....
    • Профил
    • WWW
Re: SSH как да копирам файлове?
« Отговор #21 -: May 04, 2010, 12:47 »
Получих следния отговор от системата:
Цитат
knoppix@Microknoppix:/etc$ grep -R "xorg.conf" *
Binary file X11/X matches
X11/xorg.conf.save:# /etc/X11/xorg.conf
X11/xorg.conf.save:# Created by KNOPPIX # Delete this line if you don't want KNOPPIX to overwrite your /etc/X11/xorg.conf
X11/xorg.conf.save:   Load  "extmod" # This is okay, but if you look into "man xorg.conf" you'll find option NOT to include DGA extension with extmod, and for a good reason.. DGA causes instability as it accesses videoram without consulting X about it.
X11/xorg.conf.save:#       Load  "bitmap" # Should be never present, as it gets automatically loaded. This is a font module, and loading it in xorg.conf makes X try to load it twice.
X11/xorg_1.conf:   Load  "extmod" # This is okay, but if you look into "man xorg.conf" you'll find option NOT to include DGA extension with extmod, and for a good reason.. DGA causes instability as it accesses videoram without consulting X about it.
X11/xorg_1.conf:#       Load  "bitmap" # Should be never present, as it gets automatically loaded. This is a font module, and loading it in xorg.conf makes X try to load it twice.
X11/xorg.conf:# /etc/X11/xorg.conf
X11/xorg.conf:# Delete this line if you don't want KNOPPIX to overwrite your /etc/X11/xorg.conf
X11/xorg.conf:   Load  "extmod" # This is okay, but if you look into "man xorg.conf" you'll find option NOT to include DGA extension with extmod, and for a good reason.. DGA causes instability as it accesses videoram without consulting X about it.
X11/xorg.conf:#       Load  "bitmap" # Should be never present, as it gets automatically loaded. This is a font module, and loading it in xorg.conf makes X try to load it twice.
grep: X11/Xwrapper.config: Permission denied
grep: apt/trusted.gpg~: Permission denied
grep: apt/trustdb.gpg: Permission denied
grep: apt/trusted.gpg: Permission denied
grep: apt/sources.list.save: Permission denied
grep: apt/secring.gpg: Permission denied
grep: cups/ssl: Permission denied
default/keyboard:# in /etc/X11/xorg.conf.
default/console-setup:# # # in /etc/X11/xorg.conf.
grep: group-: Permission denied
grep: gshadow: Permission denied
grep: gshadow-: Permission denied
init.d/knoppix-startx:   # Recreate xorg.conf for new module
init.d/knoppix-startx:   rm -f /etc/X11/xorg.conf
init.d/knoppix-autoconfig: # Make sure that /etc/X11/xorg.conf is recreated in live version, if no customized
grep: lvm/cache: Permission denied
grep: motd: No such file or directory
grep: partimaged/partimagedusers: Permission denied
grep: partimaged/partimaged.key: Permission denied
grep: partimaged/partimaged.cert: Permission denied
grep: partimaged/partimaged.rand: Permission denied
grep: passwd-: Permission denied
grep: security/opasswd: Permission denied
grep: shadow: Permission denied
grep: shadow-: Permission denied
grep: ssh/ssh_host_dsa_key: Permission denied
grep: ssh/ssh_host_rsa_key: Permission denied
grep: ssl/certs/3b0dacf1.0: No such file or directory
grep: ssl/certs/3b0dacf1: No such file or directory
grep: ssl/private: Permission denied
grep: sudoers: Permission denied
grep: sudoers.adriane: Permission denied
grep: sudoers.d/README: Permission denied
grep: sudoers.secure: Permission denied
grep: tiger/tigerrc: Permission denied
grep: vpnc: Permission denied
knoppix@Microknoppix:/etc$

Ето и с администраторски права
Цитат
root@Microknoppix:/etc# grep -R "xorg.conf" *
Binary file X11/X matches
X11/xorg.conf.save:# /etc/X11/xorg.conf
X11/xorg.conf.save:# Created by KNOPPIX # Delete this line if you don't want KNOPPIX to overwrite your /etc/X11/xorg.conf
X11/xorg.conf.save:   Load  "extmod" # This is okay, but if you look into "man xorg.conf" you'll find option NOT to include DGA extension with extmod, and for a good reason.. DGA causes instability as it accesses videoram without consulting X about it.
X11/xorg.conf.save:#       Load  "bitmap" # Should be never present, as it gets automatically loaded. This is a font module, and loading it in xorg.conf makes X try to load it twice.
X11/xorg_1.conf:   Load  "extmod" # This is okay, but if you look into "man xorg.conf" you'll find option NOT to include DGA extension with extmod, and for a good reason.. DGA causes instability as it accesses videoram without consulting X about it.
X11/xorg_1.conf:#       Load  "bitmap" # Should be never present, as it gets automatically loaded. This is a font module, and loading it in xorg.conf makes X try to load it twice.
X11/xorg.conf:# /etc/X11/xorg.conf
X11/xorg.conf:# Delete this line if you don't want KNOPPIX to overwrite your /etc/X11/xorg.conf
X11/xorg.conf:   Load  "extmod" # This is okay, but if you look into "man xorg.conf" you'll find option NOT to include DGA extension with extmod, and for a good reason.. DGA causes instability as it accesses videoram without consulting X about it.
X11/xorg.conf:#       Load  "bitmap" # Should be never present, as it gets automatically loaded. This is a font module, and loading it in xorg.conf makes X try to load it twice.
grep: cups/ssl/server.crt: No such file or directory
default/keyboard:# in /etc/X11/xorg.conf.
default/console-setup:# # # in /etc/X11/xorg.conf.
init.d/knoppix-startx:   # Recreate xorg.conf for new module
init.d/knoppix-startx:   rm -f /etc/X11/xorg.conf
init.d/knoppix-autoconfig: # Make sure that /etc/X11/xorg.conf is recreated in live version, if no customized
grep: motd: No such file or directory
grep: ssl/certs/3b0dacf1.0: No such file or directory
grep: ssl/certs/3b0dacf1: No such file or directory
root@Microknoppix:/etc#

До колкото разбирам трябва или да променя xorg.conf.save или да го изтрия.....
« Последна редакция: May 04, 2010, 12:52 от kill_u »
Активен

Всеки пост - отговор на въпрос!!!
Gnu/Linux user 411527

KoIoSoS

  • Напреднали
  • *****
  • Публикации: 107
  • Distribution: Slackware
  • Window Manager: Xfce4.8
    • Профил
Re: SSH как да копирам файлове?
« Отговор #22 -: May 05, 2010, 03:13 »
init.d/knoppix-startx:   rm -f /etc/X11/xorg.conf
init.d/knoppix-autoconfig: # Make sure that /etc/X11/xorg.conf is recreated in live version, if no customized
Тези двата, knoppix-startx и knoppix-autoconfig, са добри кандидати за разглеждане.
Може и да има друг вариант, да потърся  кога се прави модификацията на xorg.conf, да си направя бекъп на желания xorg.conf  и някъде между модифицирането на xorg.conf и стартирането на X да си копирам моя xorg.conf.Разбира се, това си е малко брутално.   
« Последна редакция: May 05, 2010, 03:35 от KoIoSoS »
Активен

it is better to solve the right problem the wrong way than the wrong problem the right way   -- Doug McIlroy
Slackware Propaganda
http://video.google.com/videoplay?docid=-5210026640879077823