Forumul SoftpediaBursa auto / moto / veloAnunƣuri imobiliareAnunƣuriOferte de serviciiLocuri de muncă Ɵi cursuri de specializareBloguriJocuriTeste / ReviewsÎntrebări Ɵi răspunsuriChestionareFotoStatistici

Bine ai venit ( Autentificare | Înregistrare )

2 V   1 2 >  
Reply to this topicStart new topic
> SSH 22, Cum sa deshid SSH 22 ?
Flaber
mesaj 3rd April 2005, 11:25
Mesaj #1


Junior

Grup: Members
Mesaje: 23
Data înscrierii: 2-April 05
ID membru: 33 819





(IMG:style_emoticons/default/coolspeak.gif) Salutare.. iarasi (IMG:style_emoticons/default/smile.gif)

- Am si eu nevoie de o arhiva ceva pentru ... deshis port SSH 22 ... dar va rog eu (IMG:style_emoticons/default/smile.gif) nu Root Kit`uri etc.. ca dejaba va mai chinuiti sa mi le dati.. ca le am cu as a cvea (IMG:style_emoticons/default/biggrin.gif) ..

- Sau Poate mai bine exista niste comenzi de deschis acest port... !

- A... sa nu uit.. sa mentionez.. ca folosesk Linux Xandros 2 ! ..:Pdar nu cred ca are mare importanta !

(IMG:style_emoticons/default/thumbup.gif) - Multumesk..!!! (IMG:style_emoticons/default/cheers.gif)
Go to the top of the page
 
+Quote Post
cianura
mesaj 3rd April 2005, 12:26
Mesaj #2


Moderator

Grup: Moderators
Mesaje: 2 590
Data înscrierii: 19-January 04
ID membru: 10 448



QUOTE(Flaber @ Apr 3 2005, 11:25)
(IMG:style_emoticons/default/coolspeak.gif)   Salutare.. iarasi (IMG:style_emoticons/default/smile.gif)
- Am si eu nevoie de o arhiva ceva pentru ... deshis port SSH 22 ... dar va rog eu (IMG:style_emoticons/default/smile.gif) nu Root Kit`uri etc.. ca dejaba va mai chinuiti sa mi le dati.. ca le am cu as a cvea (IMG:style_emoticons/default/biggrin.gif) ..
*


root-kituri... yeah, rrrright.....

QUOTE(Flaber @ Apr 3 2005, 11:25)
- Sau Poate mai bine exista niste comenzi de deschis acest port... !
*


/etc/ssh/sshd_config fisierul de configurare;

ca root, dai
/etc/init.d/sshd start sau
/etc/rc.d/rc.sshd start
In functie de cum e organizata distributia ta.

In sub-directoarele init.d sau rc.d din directorul /etc se afla scripturile de pornire/oprire de servicii. Citeste in acele fisiere ca sa vezi ce si cum se da drumul la un server.

PS: termina te rog cu aberatiile astea gramaticale gen folosesk/multumesk pt ca nu sintem pe mirc aici.
Go to the top of the page
 
+Quote Post
Flaber
mesaj 3rd April 2005, 12:54
Mesaj #3


Junior

Grup: Members
Mesaje: 23
Data înscrierii: 2-April 05
ID membru: 33 819



Am intrat in : /etc/init.d/ si nu exista nici un "sshd" (IMG:style_emoticons/default/sad.gif) si nici in /etc/rc.d/ (IMG:style_emoticons/default/sad.gif)

-in cd /etc/init.d/ estia numai as acvea :


. diald network-status skeleton
.. dns-clean networking slpd
README dosplashFX networking.dpkg-old startreboot.sh
acpid exim nfs-common startshutdown.sh
apache halt nfs-user-server stop-bootlogd
apmd hostname.sh nviboot sysklogd
atd hwclock.sh pcmcia tpconfig
aumix hwclockfirst.sh portmap umountfs
bootlogd ifupdown ppp umountnfs.sh
bootmisc.sh inetd pppd-dns unsplashFX
checkfs.sh iptables procps.sh urandom
checkroot.sh isapnp proftpd woddity
checkroot.sh.dpkg-old kdm rc xandros-autofs
console-screen.sh kdm-nd rcS xandros-detection
cron keymap.sh reboot xandros-hotplug
cupsys klogd rmnologin xandros-loopback
deepsix.sh makedev safemode_kdm xfree86-common
devfsd modutils samba
devpts.sh mountall.sh sendsigs
dhcp-client mountnfs.sh single




-si in /etc/rc.d/ estista numai: . .. rc.pcmcia (IMG:style_emoticons/default/sad.gif)


poate mai pot intr`un fel... 10x
Go to the top of the page
 
+Quote Post
cianura
mesaj 3rd April 2005, 13:36
Mesaj #4


Moderator

Grup: Moderators
Mesaje: 2 590
Data înscrierii: 19-January 04
ID membru: 10 448



QUOTE(Flaber @ Apr 3 2005, 12:54)
Am intrat in :  /etc/init.d/  si nu exista nici un "sshd" (IMG:style_emoticons/default/sad.gif) si nici in /etc/rc.d/  (IMG:style_emoticons/default/sad.gif)
*


uita-te in atunci si in /etc/init/rc daca e director. Daca nu, incearca sa dai la linie de comanda ca root: whereis sshd sau locate sshd. Daca nu iti returneaza nici o cale, atunci asta e, trebuie sa il instalezi fie de pe discul distributiei fie sa il iei online.
Go to the top of the page
 
+Quote Post
Flaber
mesaj 4th April 2005, 08:41
Mesaj #5


Junior

Grup: Members
Mesaje: 23
Data înscrierii: 2-April 05
ID membru: 33 819



salut...

-zice ca nu exista acea locatie (IMG:style_emoticons/default/sad.gif) (

sh: cd: /etc/init/rc: No such file or directory
sh: cd: /etc/init/: No such file or directory

-si la whereis sshd arata numai atat :

whereis sshd
sshd:

-la locate sshd zice asa :

locate sshd
locate: /var/cache/locate/locatedb: No such file or directory


- daca ma mai puteti ajuta e bine.. daca nu Multumesk pt. atat. sunteti tari ! (IMG:style_emoticons/default/coolspeak.gif)
Go to the top of the page
 
+Quote Post
mufa
mesaj 4th April 2005, 08:48
Mesaj #6


Porc misogin

Grup: Super Moderators
Mesaje: 22 677
Data înscrierii: 13-January 05
Locație: București
ID membru: 28 770



Nu, nu te putem ajuta. Problemele tale sunt mult prea complexe si ne depasesc.

later edit: Aceasta distributie pe care o folosesti, xandros, ce manager de pachete foloseste?

Acest mesaj a fost modificat de mufa: 4th April 2005, 08:49
Go to the top of the page
 
+Quote Post
cmidp
mesaj 4th April 2005, 11:34
Mesaj #7


medicine for the brain

Grup: Senior Members
Mesaje: 2 904
Data înscrierii: 2-March 03
Locație: Köln
ID membru: 3 107



QUOTE(Flaber @ Apr 4 2005, 07:41)
salut...

-zice ca nu exista acea locatie (IMG:style_emoticons/default/sad.gif) (

sh: cd: /etc/init/rc: No such file or directory
sh: cd: /etc/init/: No such file or directory

-si la whereis sshd arata numai atat :

whereis sshd
sshd:

-la locate sshd zice asa :

locate sshd
locate: /var/cache/locate/locatedb: No such file or directory
- daca ma mai puteti ajuta e bine.. daca nu Multumesk pt. atat. sunteti tari !  (IMG:style_emoticons/default/coolspeak.gif)
*


1. ca fapt divers: esti sigur ca ai ssh-ul instalat?

2. updatedb & (si astepti)

3. apoi incerci din nou sa dai locate
Go to the top of the page
 
+Quote Post
marco71
mesaj 6th April 2005, 15:33
Mesaj #8


Junior

Grup: Members
Mesaje: 55
Data înscrierii: 23-November 04
ID membru: 26 150



apt-get install openssh (xandros e debian-based)
Go to the top of the page
 
+Quote Post
GabyBoy
mesaj 6th April 2005, 19:59
Mesaj #9


Junior

Grup: Members
Mesaje: 74
Data înscrierii: 5-April 05
ID membru: 34 056



-am si eu aceeasi problema cu ssh`ul pe xandros (IMG:style_emoticons/default/sad.gif) am dat tot ce ati spus voi.. si as aimi zice :

- cand dau "apt-get install openssh" asa zice:

apt-get install openssh
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list http://xnv2.xandros.com xandros2.0-xn/main Packages (/var/lib/apt/lists/xnv2.xandros.com_2.0_pkg_dists_xandros2.0-xn_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://xnv2.xandros.com xandros2.0-xn/contrib Packages (/var/lib/apt/lists/xnv2.xandros.com_2.0_pkg_dists_xandros2.0-xn_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://xnv2.xandros.com xandros2.0-xn/non-free Packages (/var/lib/apt/lists/xnv2.xandros.com_2.0_pkg_dists_xandros2.0-xn_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package openssh


-cand dau "updatedb &" as azice:

updatedb &
[1] 1058


-si cand dau "locale" as azice:

locale
LANG=POSIX
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"LC_ALL=

LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"


- poate ma puteti ajuta in continuare.. msss...!
Go to the top of the page
 
+Quote Post
mdk10.1
mesaj 7th April 2005, 01:44
Mesaj #10


Junior

Grup: Members
Mesaje: 1
Data înscrierii: 7-April 05
ID membru: 34 160





Aceiasi problema am si eu cu ssh22 dar eu am o distributie Mandrake 10.1 ma puteti ajuta dar mai pe intelesul unui novice in ale linuxului si daca este posibil un tutorial in romana. (IMG:style_emoticons/default/worthy.gif)
Go to the top of the page
 
+Quote Post
mufa
mesaj 7th April 2005, 14:10
Mesaj #11


Porc misogin

Grup: Super Moderators
Mesaje: 22 677
Data înscrierii: 13-January 05
Locație: București
ID membru: 28 770



GabyBoy: apt-get update inainte de apt-get install openssh
Go to the top of the page
 
+Quote Post
cmidp
mesaj 7th April 2005, 15:14
Mesaj #12


medicine for the brain

Grup: Senior Members
Mesaje: 2 904
Data înscrierii: 2-March 03
Locație: Köln
ID membru: 3 107



Este *locate* nu locale.
Go to the top of the page
 
+Quote Post
GabyBoy
mesaj 19th April 2005, 08:41
Mesaj #13


Junior

Grup: Members
Mesaje: 74
Data înscrierii: 5-April 05
ID membru: 34 056



salut.. am si eu un redhat 8.0 si vreau sa deshid ssh 22.

cand dau ./sshd start zice :

./sshd start
Starting sshd: [ OK ]

dar cand vreau sa intru pe ssh 22 nu merge... conection refused...! dc oare????
Go to the top of the page
 
+Quote Post
mufa
mesaj 19th April 2005, 09:14
Mesaj #14


Porc misogin

Grup: Super Moderators
Mesaje: 22 677
Data înscrierii: 13-January 05
Locație: București
ID membru: 28 770



QUOTE(GabyBoy @ Apr 19 2005, 09:41)
salut.. am si eu un redhat 8.0  si vreau sa deshid ssh 22.
dar cand vreau sa intru pe ssh 22 nu merge... conection refused...! dc oare????
*

/var/log/secure ce spune ?
Go to the top of the page
 
+Quote Post
GabyBoy
mesaj 19th April 2005, 09:31
Mesaj #15


Junior

Grup: Members
Mesaje: 74
Data înscrierii: 5-April 05
ID membru: 34 056



asta zice..... :


cat /var/log/secure
Apr 17 15:19:23 localhost sshd[560]: Server listening on 0.0.0.0 port 22.
Apr 17 15:20:25 localhost sshd[560]: Received signal 15; terminating.
Apr 17 15:33:41 localhost sshd[570]: Server listening on 0.0.0.0 port 22.
Apr 17 15:36:46 localhost sshd[570]: Received signal 15; terminating.
Apr 17 15:41:47 localhost sshd[571]: Server listening on 0.0.0.0 port 22.
Apr 17 15:43:42 localhost sshd[571]: Received signal 15; terminating.
Apr 17 15:46:54 localhost sshd[571]: Server listening on 0.0.0.0 port 22.
Apr 17 17:06:13 localhost sshd[539]: Server listening on 0.0.0.0 port 22.
Apr 17 17:06:58 localhost sshd[539]: Received signal 15; terminating.
Apr 17 17:12:19 localhost sshd[689]: Server listening on 0.0.0.0 port 22.
Apr 17 17:49:31 localhost sshd[689]: Received signal 15; terminating.
Apr 17 17:52:54 localhost sshd[717]: Server listening on 0.0.0.0 port 22.
Apr 17 20:54:39 localhost sshd[717]: Received signal 15; terminating.
Apr 17 20:58:06 localhost sshd[717]: Server listening on 0.0.0.0 port 22.
Apr 17 22:47:21 localhost sshd[727]: Server listening on 0.0.0.0 port 22.
Apr 17 23:04:52 localhost sshd[727]: Received signal 15; terminating.
Apr 17 23:08:27 localhost sshd[716]: Server listening on 0.0.0.0 port 22.
Apr 19 01:20:11 localhost sshd[663]: Server listening on 0.0.0.0 port 22.
Apr 19 01:24:48 localhost sshd[572]: Server listening on 0.0.0.0 port 22.
Apr 19 01:32:48 localhost sshd[671]: Server listening on 0.0.0.0 port 22.
Apr 19 01:34:45 localhost sshd[671]: Received signal 15; terminating.
Apr 19 01:50:28 localhost sshd[714]: Server listening on 0.0.0.0 port 22.
Apr 19 02:00:08 localhost sshd[711]: Server listening on 0.0.0.0 port 22.
Apr 19 02:03:02 localhost sshd[618]: Server listening on 0.0.0.0 port 22.
Apr 19 02:04:20 localhost sshd[618]: Received signal 15; terminating.
Apr 19 02:16:15 localhost sshd[833]: Server listening on 0.0.0.0 port 22.
Apr 19 09:19:00 localhost sshd[731]: Server listening on 0.0.0.0 port 22.
Apr 19 09:33:54 localhost sshd[953]: error: Bind to port 22 on 0.0.0.0 failed: A
ddress already in use.
Apr 19 09:33:54 localhost sshd[953]: fatal: Cannot bind any address.
Apr 19 10:17:10 localhost sshd[730]: Server listening on 0.0.0.0 port 22.




ce sa fac.. ?(IMG:style_emoticons/default/sad.gif) (((
Go to the top of the page
 
+Quote Post
mufa
mesaj 19th April 2005, 09:43
Mesaj #16


Porc misogin

Grup: Super Moderators
Mesaje: 22 677
Data înscrierii: 13-January 05
Locație: București
ID membru: 28 770



killall -9 sshd (ai grija sa nu fii legat remote)
/etc/init.d/sshd start
Go to the top of the page
 
+Quote Post
GabyBoy
mesaj 19th April 2005, 10:12
Mesaj #17


Junior

Grup: Members
Mesaje: 74
Data înscrierii: 5-April 05
ID membru: 34 056



tot nu se deshide (IMG:style_emoticons/default/sad.gif) ((
Go to the top of the page
 
+Quote Post
mufa
mesaj 19th April 2005, 10:18
Mesaj #18


Porc misogin

Grup: Super Moderators
Mesaje: 22 677
Data înscrierii: 13-January 05
Locație: București
ID membru: 28 770



QUOTE(GabyBoy @ Apr 19 2005, 11:12)
tot nu se deshide (IMG:style_emoticons/default/sad.gif) ((
*

Ma bucur. /var/log/secure ce spune de data asta?
Daca tot "List-PBind to port 22 on 0.0.0.0 failed: Address already in use." vezi cine asculta pe portul 22 si de ce.
Go to the top of the page
 
+Quote Post

2 V   1 2 >
Reply to this topicStart new topic
1 utilizatori citesc acest subiect (1 utilizatori neautentificați și 0 anonimi)
0 Membri:

 

RSS Versiune simplificată Data: 23rd November 2009 - 19:00
© 2001 - 2009 Softpedia. All rights reserved.
Softpedia® and Softpedia logo are registered trademarks of Soft News NET SRL.
Privacy Policy | Terms of Use | Contact Softpedia