Current time: 07-03-2024, 01:57 PM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT]SSH Port
Author Message
FISA4 Offline
Member
***

Posts: 668
Joined: Feb 2008
Reputation: 15
Post: #11
RE: SSH Port
(05-18-2010 06:29 PM)joximu Wrote:  heieiei - zwar ein Input-Feld, aber "readonly"...

ist auch in der 1.0.5 so...

naja... der Weg über die DB ist wohl immernoch der beste :-)

/J

Das schreit (jedenfalls bei mir) nach einem Ticket. Wink
Alle Ports in der Überwachung sollten änderbar sein. Evtl. mit nem "Reset to default" falls mal jemand Mist macht.
EDIT:
Ticket erstellt.
http://isp-control.net/ispcp/ticket/2376

EDIT2:
Patch ist im Ticket. Aber ohne "Reset to default"
(This post was last modified: 05-18-2010 08:33 PM by FISA4.)
05-18-2010 07:12 PM
Find all posts by this user
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #12
RE: SSH Port
SSH -> Anzeigen = Nein,
neuen Eintrag für SSH anlegen, fertig!
05-19-2010 05:36 PM
Visit this user's website Find all posts by this user
Illidan Offline
Junior Member
*

Posts: 93
Joined: May 2007
Reputation: 2
Post: #13
RE: SSH Port
Eine andere Möglichkeit wäre den Wert für PORT_SSH in der Datenbank zu "custom" ändern damit man ihn auch bearbeiten kann. Also value von PORT_SSH in " 22;tcp;SSH;1;1;" (ohne "") ändern.

Die letzte 1 ist für einen custom Eintrag. Jetzt kan man auch den Eintrag in ispCP ändern.

EDIT: gar nicht aufgefallen das ich hier im german corner bin lol^^".
(This post was last modified: 05-20-2010 07:49 PM by Illidan.)
05-20-2010 06:47 PM
Visit this user's website Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #14
RE: SSH Port
(05-20-2010 06:47 PM)Illidan Wrote:  Another solution would be to change the value for PORT_SSH in " 22;tcp;SSH;1;1;" (without "").

The last number, 1, say that this port is a custom port. So you can change the fields of this port in ispCP.

auch dafür muss man in die DB... :-)
05-20-2010 07:30 PM
Visit this user's website Find all posts by this user
Illidan Offline
Junior Member
*

Posts: 93
Joined: May 2007
Reputation: 2
Post: #15
RE: SSH Port
(05-20-2010 07:30 PM)joximu Wrote:  
(05-20-2010 06:47 PM)Illidan Wrote:  Another solution would be to change the value for PORT_SSH in " 22;tcp;SSH;1;1;" (without "").

The last number, 1, say that this port is a custom port. So you can change the fields of this port in ispCP.

auch dafür muss man in die DB... :-)

Oder man führt es per cmd aus wobei da auf die DB zugegriffen wird Big Grin!

Code:
mysql -u root -p
USE ispcP;
UPDATE config SET value = "22;tcp;SSH;1;1;" WHERE name = "PORT_SSH";
exit

Man kann eigentlich auch dann direkt die 22 in eine andere Zahl umändern...^^.
05-20-2010 07:51 PM
Visit this user's website Find all posts by this user
FISA4 Offline
Member
***

Posts: 668
Joined: Feb 2008
Reputation: 15
Post: #16
RE: SSH Port
(05-20-2010 07:51 PM)Illidan Wrote:  ...
Code:
mysql -u root -p
USE ispcP;
UPDATE config SET value = "22;tcp;SSH;1;1;" WHERE name = "PORT_SSH";
exit

Man kann eigentlich auch dann direkt die 22 in eine andere Zahl umändern...^^.

Ganz hinten nach dem 1; gehört noch die IP. Wink
05-20-2010 08:57 PM
Find all posts by this user
Illidan Offline
Junior Member
*

Posts: 93
Joined: May 2007
Reputation: 2
Post: #17
RE: SSH Port
(05-20-2010 08:57 PM)FISA4 Wrote:  
(05-20-2010 07:51 PM)Illidan Wrote:  ...
Code:
mysql -u root -p
USE ispcP;
UPDATE config SET value = "22;tcp;SSH;1;1;" WHERE name = "PORT_SSH";
exit

Man kann eigentlich auch dann direkt die 22 in eine andere Zahl umändern...^^.

Ganz hinten nach dem 1; gehört noch die IP. Wink

Ja, stimmt schon, aber bevor ich es so umgestellt habe war vor den default Einträgen keine IP vorhanden. Nachdem ich auf 1 umgestellt und in ispCP Port umgestellt habe stand aufeinmal bei jedem Eintrag auch die IP. Weis halt nicht ob der es unbedingt braucht, aber schaden kanns ja glaub nicht..^^
05-20-2010 11:21 PM
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)