كمك در مورد SSH به زبان خيلي ساده
|
2004-12-13, 11:03 AM,
ارسال : #21
|
|||
|
|||
من به يك جاهاي رسيدم ولي شما اونقدر ساده توضيح دادين (پيشرفته) كه من خيلي جاها اصلا نفهميدم چي به چي بود همين بالا اون قدر اينجا و اونجا كردين كه من گيج شدم
البته من مشكلم رو با يك راه ديگه حل كردم و اون عوض كردن سرور بود چون سرور قبلي من امكانات كمي داشت و من بااين مشكل مواجه بودم (upload فايل هاي هجيم) ولي اين مشكل در سرور جديد حل شده ( با uplaod فايل هاي فشرده و نافشرده كردن اون ها در روي host )حتي يك چيز جالب هم كه داره با اين كه لينوكسه ميتونه از ASP پشتيباني كنه من ميدونستم كه لينوكس ميتونه ASP رو پشتيباني كنه ولي تا حالا روي سرور هاي موجود در ايران اين كار سابقه نداشت به هر حال از راهنمايي همه شما ممنونم :wink: |
|||
2004-12-13, 11:56 AM,
ارسال : #22
|
|||
|
|||
Keyboard Interactive ؟ من نمیدونم این چی هست میشه یکمی توضیح بدید؟!
[ltr] $Nəvid$ In a world without any fences or walls, Who needs gates or windows ? گنو ایران | لیست مقالات فارسی گنو ایران | [/ltr] |
|||
2004-12-13, 12:27 PM,
ارسال : #23
|
|||
|
|||
Navid نویسنده :Keyboard Interactive ؟ من نمیدونم این چی هست میشه یکمی توضیح بدید؟! یعنی نمیتونی پسورد تایپ کنی Wish you Were here ... |
|||
2004-12-13, 08:31 PM,
ارسال : #24
|
|||
|
|||
میشه این رو هم مثل MySQL پسورد رو جلوش نوشت؟ -u user -p pass ....? من که نتونستم ...
[ltr] $Nəvid$ In a world without any fences or walls, Who needs gates or windows ? گنو ایران | لیست مقالات فارسی گنو ایران | [/ltr] |
|||
2004-12-13, 09:43 PM,
ارسال : #25
|
|||
|
|||
Navid نویسنده :میشه این رو هم مثل MySQL پسورد رو جلوش نوشت؟ -u user -p pass ....? من که نتونستم ... نه نمیشه Wish you Were here ... |
|||
2004-12-14, 02:05 AM,
ارسال : #26
|
|||
|
|||
پس من چه کنم؟!! :cry:
[ltr] $Nəvid$ In a world without any fences or walls, Who needs gates or windows ? گنو ایران | لیست مقالات فارسی گنو ایران | [/ltr] |
|||
2004-12-14, 02:00 PM,
ارسال : #27
|
|||
|
|||
خوب نمیشه دیگه زوپ جان! نشه پسورد تایپ کرد خوب نمیشه!
[ltr]Life *free = new Life(const long OpenSource);[/ltr] |
|||
2004-12-14, 07:49 PM,
ارسال : #28
|
|||
|
|||
alan نویسنده :خوب نمیشه دیگه زوپ جان! نشه پسورد تایپ کرد خوب نمیشه! نه دوستان اشتباه نکنید ، تایپ کردن پسورد یکی از چندین راهیه که شما میتونید از یه سرور اس اس اش (!) استفاده کنید ، شاید یشه گفت بهترینش هم نیست میتونم براتون RhostsRSAAuthentication,HostbasedAuthentication و روش های دیگه RSA رو مثال بزنم Wish you Were here ... |
|||
2004-12-15, 09:15 AM,
ارسال : #29
|
|||
|
|||
این روش هایی که گفتید رو کاربر چطور میتونه استفاده کنه؟ میشه بیشتر توضیح بدید؟ یه توضیحی که یکمی کاربردی تر باشه من میخوام این کار رو بکنم نه این که بدونم میشه یا نه .....
|
|||
2005-01-07, 02:09 PM,
ارسال : #30
|
|||
|
|||
Zouup dorst mighe in karo rahat mishe anjam dad.
Moshkele shoma chieh? |
|||
2005-01-07, 02:18 PM,
ارسال : #31
|
|||
|
|||
Example:
scp -v HOST1:/usr/local/bin/get_mac.sh HOS2i:/usr/local/bin/ Executing: exec /usr/bin/ssh -v -x -o'ClearAllForwardings yes' -n HOST2 scp -v /usr/local/bin/get_mac.sh 'HOST1:/usr/local/bin/' OpenSSH_3.8.1p1, OpenSSL 0.9.6g 9 Aug 2002 debug1: Reading configuration data /etc/ssh/ssh_config . debug1: Error loading Kerberos, disabling Kerberos auth. debug1: Connecting to HOST1 port 22. debug1: Connection established. debug1: identity file /home/root/.ssh/identity type -1 debug1: identity file /home/root/.ssh/id_rsa type -1 debug1: identity file /home/root/.ssh/id_dsa type 2 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.8.1p1 debug1: match: OpenSSH_3.8.1p1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'HOST1' is known and matches the RSA host key. debug1: Found key in /home/root/.ssh/known_hosts:2 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/root/.ssh/identity debug1: Trying private key: /home/root/.ssh/id_rsa debug1: Offering public key: /home/root/.ssh/id_dsa debug1: Server accepts key: pkalg ssh-dss blen 434 debug1: read PEM private key done: type DSA debug1: Authentication succeeded (publickey). debug1: channel 0: new [client-session] debug1: Entering interactive session. debug1: Sending command: scp -v /usr/local/bin/get_mac.sh HOST1:/usr/local/bin/ Executing: program /usr/bin/ssh host HOST2, user (unspecified), command scp -v -t /usr/local/bin/ OpenSSH_3.8.1p1, OpenSSL 0.9.6m 17 Mar 2004 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Failed dlopen: /usr/krb5/lib/libkrb5.a(libkrb5.a.so): A file or directory in the path name does not exist. debug1: Error loading Kerberos, disabling Kerberos auth. debug1: Connecting to HOST2 port 22. debug1: Connection established. debug1: identity file /home/root/.ssh/identity type -1 debug1: identity file /home/root/.ssh/id_rsa type -1 debug1: identity file /home/root/.ssh/id_dsa type 2 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.8.1p1 debug1: match: OpenSSH_3.8.1p1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'xbwp01i' is known and matches the RSA host key. debug1: Found key in /home/root/.ssh/known_hosts:57 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/root/.ssh/identity debug1: Trying private key: /home/root/.ssh/id_rsa debug1: Offering public key: /home/root/.ssh/id_dsa debug1: Server accepts key: pkalg ssh-dss blen 433 debug1: read PEM private key done: type DSA debug1: Authentication succeeded (publickey). debug1: channel 0: new [client-session] debug1: Entering interactive session. debug1: Sending command: scp -v -t /usr/local/bin/ Sending file modes: C0700 470 get_mac.sh debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: channel 0: free: client-session, nchannels 1 debug1: fd 0 clearing O_NONBLOCK debug1: fd 1 clearing O_NONBLOCK debug1: fd 2 clearing O_NONBLOCK debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.1 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0 debug1: Exit status 0 debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: channel 0: free: client-session, nchannels 1 debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.3 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0 debug1: Exit status 0 |
|||
|