Jump to content

SUBIECTE NOI
« 1 / 5 »
RSS
Angajator privat - obligatie plat...

Sfat achiziție laptop max 30...

Achizitionarea primului Atv

Ce arbusti/pomi sunt in imagine
 DAMEX - Card VISA cu Plan in func...

Jardiniera din OSB

Problema cuptor Arctic

Cum as putea adormi mai repede se...
 Suspendare permis conducere pentr...

Recomandare bormasina (Buget: ~20...

Masina SH 6000 euro

Glet peste calciu
 Facultatea de Agronomie - Agricul...

mobilat sau nemobilat/semimobilat?

Contract de schimb

Snapdragon 8 Gen 4 - stire
 

SSH 22

- - - - -
  • Please log in to reply
33 replies to this topic

#1
Flaber

Flaber

    New Member

  • Grup: Members
  • Posts: 23
  • Înscris: 02.04.2005
:coolspeak:  Salutare.. iarasi :)

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

- 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 !

:thumbup: - Multumesk..!!!  :cheers:

#2
cianura

cianura

    Senior Member

  • Grup: Senior Members
  • Posts: 2,754
  • Înscris: 19.01.2004

Flaber, on Apr 3 2005, 11:25, said:

:coolspeak:  Salutare.. iarasi :)
- Am si eu nevoie de o arhiva ceva pentru ... deshis port SSH 22 ... dar va rog eu :) nu Root Kit`uri etc.. ca dejaba va mai chinuiti sa mi le dati.. ca le am cu as a cvea :D ..

<{POST_SNAPBACK}>


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

Flaber, on Apr 3 2005, 11:25, said:

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

<{POST_SNAPBACK}>


/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.

#3
Flaber

Flaber

    New Member

  • Grup: Members
  • Posts: 23
  • Înscris: 02.04.2005
Am intrat in :  /etc/init.d/  si nu exista nici un "sshd" :( si nici in /etc/rc.d/  :(

-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    :(


poate mai pot intr`un fel... 10x

#4
cianura

cianura

    Senior Member

  • Grup: Senior Members
  • Posts: 2,754
  • Înscris: 19.01.2004

Flaber, on Apr 3 2005, 12:54, said:

Am intrat in :  /etc/init.d/  si nu exista nici un "sshd" :( si nici in /etc/rc.d/  :(

<{POST_SNAPBACK}>


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.

#5
Flaber

Flaber

    New Member

  • Grup: Members
  • Posts: 23
  • Înscris: 02.04.2005
salut...

-zice ca nu exista acea locatie :((

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 !  :coolspeak:

#6
mufa

mufa

    Porc misogin

  • Grup: Super Moderators
  • Posts: 40,666
  • Înscris: 13.01.2005
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?

Edited by mufa, 04 April 2005 - 08:49.


#7
cmidp

cmidp

    medicine for the brain

  • Grup: Senior Members
  • Posts: 3,078
  • Înscris: 02.03.2003

Flaber, on Apr 4 2005, 07:41, said:

salut...

-zice ca nu exista acea locatie :((

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 !  :coolspeak:

<{POST_SNAPBACK}>


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

2. updatedb & (si astepti)

3. apoi incerci din nou sa dai locate

#8
marco71

marco71

    Active Member

  • Grup: Members
  • Posts: 1,487
  • Înscris: 23.11.2004
apt-get install openssh (xandros e debian-based)

#9
GabyBoy

GabyBoy

    Junior Member

  • Grup: Members
  • Posts: 74
  • Înscris: 05.04.2005
-am si eu aceeasi problema cu ssh`ul pe xandros :(  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...!

#10
mdk10.1

mdk10.1

    New Member

  • Grup: Members
  • Posts: 1
  • Înscris: 07.04.2005
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.  :worthy:

#11
mufa

mufa

    Porc misogin

  • Grup: Super Moderators
  • Posts: 40,666
  • Înscris: 13.01.2005
GabyBoy: apt-get update inainte de apt-get install openssh

#12
cmidp

cmidp

    medicine for the brain

  • Grup: Senior Members
  • Posts: 3,078
  • Înscris: 02.03.2003
Este *locate* nu locale.

#13
GabyBoy

GabyBoy

    Junior Member

  • Grup: Members
  • Posts: 74
  • Înscris: 05.04.2005
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????

#14
mufa

mufa

    Porc misogin

  • Grup: Super Moderators
  • Posts: 40,666
  • Înscris: 13.01.2005

GabyBoy, on Apr 19 2005, 09:41, said:

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????

<{POST_SNAPBACK}>

/var/log/secure ce spune ?

#15
GabyBoy

GabyBoy

    Junior Member

  • Grup: Members
  • Posts: 74
  • Înscris: 05.04.2005
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.. ?:((((

#16
mufa

mufa

    Porc misogin

  • Grup: Super Moderators
  • Posts: 40,666
  • Înscris: 13.01.2005
killall -9 sshd (ai grija sa nu fii legat remote)
/etc/init.d/sshd start

#17
GabyBoy

GabyBoy

    Junior Member

  • Grup: Members
  • Posts: 74
  • Înscris: 05.04.2005
tot nu se deshide :(((

#18
mufa

mufa

    Porc misogin

  • Grup: Super Moderators
  • Posts: 40,666
  • Înscris: 13.01.2005

GabyBoy, on Apr 19 2005, 11:12, said:

tot nu se deshide :(((

<{POST_SNAPBACK}>

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.

Anunturi

Bun venit pe Forumul Softpedia!

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Forumul Softpedia foloseste "cookies" pentru a imbunatati experienta utilizatorilor Accept
Pentru detalii si optiuni legate de cookies si datele personale, consultati Politica de utilizare cookies si Politica de confidentialitate