how will you login one server's shell prompt to an another
server?
Answers were Sorted based on User's Feedback
Answer / habs
ssh username@hostname
prompts for pwd, if passwordless login not enabled
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / phoenix
Just in case you are in sudo and not able to get through
using command
ssh ipaddress(or)hostname
use the below command
ssh user_id@ipaddress
or
ssh user_id@hostname
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / vamshi
Hi
first login super user
then login that server to another
server1#ssh@ipaddress or hostname(server2)
server1#passwd:
server2#
| Is This Answer Correct ? | 2 Yes | 3 No |
what is the command to print last 8 lines of any text file.
what is kernel?
Where LOG fiels resides in AIX and pls tel me how to remove the log file
what will this do $cat > file.c ?(file.c is a file in current directory)
what is the difference between relative path and absolute path?
how to sort the content of the file based on numeric values
What is the use of pipes?
What is the command to find hidden files in the current directory?
How do you stop a running process?
A file has 1000 lines and i want to display only 1st line how to do it? pls ..tel me
what do you understand by 'unix is a portable os'?
what is the cmd to display the last exit status in UNIX?