SSH Befehle?
SSH Befehle?
Ich kenn mich denk ich schon ganz gut aus mit den SSH befehlen *g* aber trotzdem weiß ich 1 oder 2 nicht also z.B. den User Ausloggen und wenn die Passwordabfrage kommt da loggt der sich bei meinem Linux PC immer mit dem dem Nick ein den ich aktuell hier auf dem pc hat und ich kann mich garnit als "user22" anmelden
Als User "user22" anmelden: ssh user22@rechner.domain
In der Manualpage zu ssh ist das schon ganz gut erklärt!
Abmelden: Öhm, exit, logout oder <Strg-D>, wenn Du in einer Shell bist... Das hat aber nix mit der ssh zu tun. An der Konsole meldet man sich genauso ab.
Jochen
In der Manualpage zu ssh ist das schon ganz gut erklärt!
Abmelden: Öhm, exit, logout oder <Strg-D>, wenn Du in einer Shell bist... Das hat aber nix mit der ssh zu tun. An der Konsole meldet man sich genauso ab.
Jochen
Die grösste Lüge der EDV? "Mal eben..."
ein "ssh" ohne Parameter hätte dir folgendes verraten:
oder "man ssh":
...aber ein RTFM ist mir jetzt zu langweilig... ;-)
Code: Select all
Usage: ssh [options] host [command]
Options:
-l user Log in using this user name.
-n Redirect input from /dev/null.
-a Disable authentication agent forwarding.
-X Enable X11 connection forwarding.
-x Disable X11 connection forwarding.
-i file Identity for RSA authentication (default: ~/.ssh/identity).
-t Tty; allocate a tty even if command is given.
-T Do not allocate a tty.
-v Verbose; display verbose debugging messages.
-V Display version number only.
-P Don't allocate a privileged port.
-q Quiet; don't display any warning messages.
-f Fork into background after authentication.
-e char Set escape character; ``none'' = disable (default: ~).
-c cipher Select encryption algorithm: ``3des'', ``blowfish''
-p port Connect to this port. Server must be on the same port.
-L listen-port:host:port Forward local port to remote address
-R listen-port:host:port Forward remote port to local address
These cause ssh to listen for connections on a port, and
forward them to the other side by connecting to host:port.
-C Enable compression.
-N Do not execute a shell or command.
-g Allow remote hosts to connect to forwarded ports.
-4 Use IPv4 only.
-6 Use IPv6 only.
-2 Force protocol version 2.
-o 'option' Process the option as if it was read from a configuration file.
Code: Select all
NAME
ssh - OpenSSH secure shell client (remote login program)
SYNOPSIS
ssh [-l login_name] [hostname | user@hostname] [command]
ssh [-afgknqtvxCNPTX246] [-c cipher_spec] [-e escape_char] [-i
identity_file] [-l login_name] [-o option] [-p port] [-L
port:host:hostport] [-R port:host:hostport] [hostname |
user@hostname] [command]