|
2008-01-28
, 12:33
|
|
Posts: 739 |
Thanked: 159 times |
Joined on Sep 2007
@ Germany - Munich
|
#2
|
|
2008-01-28
, 12:37
|
Posts: 20 |
Thanked: 1 time |
Joined on Jan 2008
@ Toronto, Ontario
|
#3
|
|
2008-01-28
, 12:55
|
|
Posts: 739 |
Thanked: 159 times |
Joined on Sep 2007
@ Germany - Munich
|
#4
|
Make sure you set the client to use ssh2 only.
Protocol 2
|
2008-01-28
, 14:29
|
|
Posts: 51 |
Thanked: 3 times |
Joined on Sep 2007
@ Halifax, NS
|
#5
|
Why the "-1" ?
ssh root@localhost
You can also use becomeroot to gain root access.
|
2008-01-28
, 17:08
|
|
Posts: 739 |
Thanked: 159 times |
Joined on Sep 2007
@ Germany - Munich
|
#6
|
|
2008-01-28
, 23:49
|
|
Posts: 51 |
Thanked: 3 times |
Joined on Sep 2007
@ Halifax, NS
|
#7
|
The Following User Says Thank You to dgenge For This Useful Post: | ||
|
2008-01-30
, 18:07
|
Posts: 3,401 |
Thanked: 1,255 times |
Joined on Nov 2005
@ London, UK
|
#8
|
Got SSH installed OK, one post said input..
"SSH -1 root@localhost" to gain root access
ssh -l <user> <host>
ssh <user>@<host>
|
2008-01-30
, 19:24
|
Posts: 11 |
Thanked: 1 time |
Joined on Jan 2008
|
#9
|
|
2008-01-30
, 19:29
|
|
Posts: 739 |
Thanked: 159 times |
Joined on Sep 2007
@ Germany - Munich
|
#10
|
ID_FILE="${HOME}/.ssh/id_rsa.pub"
if [ "-i" = "$1" ]; then
shift
# check if we have 2 parameters left, if so the first is the new ID file
if [ -n "$2" ]; then
if expr "$1" : ".*\.pub" >/dev/null; then
ID_FILE="$1"
else
ID_FILE="$1.pub"
fi
shift # and this should leave $1 as the target name
fi
else
if [ x$SSH_AUTH_SOCK != x ] && ssh-add -L >/dev/null 2>&1; then
GET_ID="$GET_ID ssh-add -L"
fi
fi
if [ -z "`eval $GET_ID`" ] && [ -r "${ID_FILE}" ] ; then
GET_ID="cat ${ID_FILE}"
fi
if [ -z "`eval $GET_ID`" ]; then
echo "$0: ERROR: No identities found" >&2
exit 1
fi
if [ "$#" -lt 1 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
echo "Usage: $0 [-i [identity_file]] [user@]machine" >&2
exit 1
fi
{ eval "$GET_ID" ; } | ssh $1 "umask 077; test -d .ssh || mkdir .ssh ; cat >> .ssh/authorized_keys" || exit 1
"SSH -1 root@localhost" to gain root access, but I tried and got this.
"Protocol major versions differ: 1 vs. 2"
I installed the proper version of SSH (At least I think) from Maemo downloads for OS2008!
Please what amd I doing wrong....
N800 and OS2008.... Darren Thanks in advance
GengeMan....
from Halifax, N.S. Canada