Apple Cannot SSH with my iPhone

haddad

Well-Known Member
OP
Member
Joined
Aug 12, 2010
Messages
1,693
Trophies
1
Age
32
XP
846
Country
Canada
Ok, I got a iPhone 3Gs on firmware 4.1 and it is jailbroken, so I am using WinSCP now and I put the following info into WinSCP

Host Name: (My iPhone's IP Address)
User Name: root
Password: alpine
Port Number: 22
Private Key File: (I left blank)
File Protocol: (tried all 3)

And it never works
wtf.gif
why??
 

doyama

Well-Known Member
Member
Joined
Nov 30, 2006
Messages
1,288
Trophies
0
XP
171
Country
United States
What error message do you get when you try to connect?

Also did you install the ssh package on the iphone?
 

Joktan

Well-Known Member
Member
Joined
Apr 5, 2010
Messages
662
Trophies
0
Age
29
Location
In a big mansion...in Rancoon
XP
151
Country
United States
haddad said:
Ok, I got a iPhone 3Gs on firmware 4.1 and it is jailbroken, so I am using WinSCP now and I put the following info into WinSCP

Host Name: (My iPhone's IP Address)
User Name: root
Password: alpine
Port Number: 22i never changed my port number
Private Key File: (I left blank)
File Protocol: (tried all 3)never did anything here either

And it never works
wtf.gif
why??
mine will sometimes stop working and its sometimes becasue the ip address is different from the last time i used it.check to make sure you have it right.
 

The Pi

Lurker
Member
Joined
Mar 18, 2010
Messages
1,637
Trophies
1
Location
Scotland
XP
399
Country
I used to get that error, basically constant retrying gets passed it.
It stopped after I saved the password and user though.

Also, I recommend you change the password aswell:
when you do get into SSH, Ctrl+T then type "passwd" without quotes, then change the password.
 

haddad

Well-Known Member
OP
Member
Joined
Aug 12, 2010
Messages
1,693
Trophies
1
Age
32
XP
846
Country
Canada
dib said:
Have you tried iPhone browser? It's so much simpler than using ssh for most purposes.

for that u need a usb connector, i want to transfer videos's/pictures with no wire needed


Joktan said:
haddad said:
Ok, I got a iPhone 3Gs on firmware 4.1 and it is jailbroken, so I am using WinSCP now and I put the following info into WinSCP

Host Name: (My iPhone's IP Address)
User Name: root
Password: alpine
Port Number: 22i never changed my port number
Private Key File: (I left blank)
File Protocol: (tried all 3)never did anything here either

And it never works
wtf.gif
why??
mine will sometimes stop working and its sometimes becasue the ip address is different from the last time i used it.check to make sure you have it right.

I am sure it is right


QUOTE(The Pi @ Apr 7 2011, 12:51 PM)
I used to get that error, basically constant retrying gets passed it.
It stopped after I saved the password and user though.

Also, I recommend you change the password aswell:
when you do get into SSH, Ctrl+T then type "passwd" without quotes, then change the password.

I have tried re-connecting over 100 times and still same error, and I cannt chage the password if I get inti SSH
tongue.gif
 

DanTheManMS

aka Ricochet Otter
Member
Joined
Jun 2, 2007
Messages
4,453
Trophies
1
Age
34
Location
Georgia
XP
751
Country
United States
This is going to sound obvious, but do make sure that both your computer and iPhone are on the same wifi network to begin with. If you're on a laptop or something that has both an Ethernet cord and a wifi access point, perhaps try unplugging the Ethernet cord, just for grins.

Otherwise it looks like you're doing everything right, so I don't really know what the problem is.
 

haddad

Well-Known Member
OP
Member
Joined
Aug 12, 2010
Messages
1,693
Trophies
1
Age
32
XP
846
Country
Canada
DanTheManMS said:
This is going to sound obvious, but do make sure that both your computer and iPhone are on the same wifi network to begin with. If you're on a laptop or something that has both an Ethernet cord and a wifi access point, perhaps try unplugging the Ethernet cord, just for grins.

Otherwise it looks like you're doing everything right, so I don't really know what the problem is.

Yes of course I am on the same WiFi network
tongue.gif


I need help, please guys
frown.gif
 

Pillows

Member
Newcomer
Joined
Dec 18, 2010
Messages
16
Trophies
0
Age
30
Location
This fluffy pillow
XP
59
Country
Host should be the IP Address in your iPhone.
User is root.
Password is alpine.
Be sure you have OpenSCP in the computer.
Also, have OpenSSH on the iPhone.
Set File Protocol to SCP.
 

haddad

Well-Known Member
OP
Member
Joined
Aug 12, 2010
Messages
1,693
Trophies
1
Age
32
XP
846
Country
Canada
Pillows said:
Host should be the IP Address in your iPhone.
User is root.
Password is alpine.
Be sure you have OpenSCP in the computer.
Also, have OpenSSH on the iPhone.
Set File Protocol to SCP.

What is OpenSCP?

--EDIT--

I found something really weird.... If I reinstall OpenSSH on my iphone, the SSH worlks for like 3-5 seconds then gets constant error again, if I reinstall it again (OpenSSH) it works for about 3-5 seconds then I get the same error

weird?
 

Joe88

[λ]
Global Moderator
Joined
Jan 6, 2008
Messages
12,736
Trophies
2
Age
36
XP
7,419
Country
United States
I like to use SSH Secure Shell rather then WinSCP
but I found that ssh is rather unreliable and slow so I just opt for iFunBox instead
 

metamaster

Well-Known Member
Member
Joined
Mar 7, 2010
Messages
875
Trophies
0
XP
162
Country
Canada
Maybe another package is conflicting with openSSH (although I doubt it). What other things did you install with Cydia that might affect wifi?
Make sure you did all your updates in Cydia.

Also, I sometimes get that error if a device is locked. Try unlocking it before.
 

Dangy

Well-Known Member
Member
Joined
Apr 5, 2009
Messages
1,410
Trophies
1
XP
420
Country
United States
Joe88 said:
I like to use SSH Secure Shell rather then WinSCP
but I found that ssh is rather unreliable and slow so I just opt for iFunBox instead

This.

I use SSH only when absolutely necessary. iFunBox is so much faster and consistent.
 

haddad

Well-Known Member
OP
Member
Joined
Aug 12, 2010
Messages
1,693
Trophies
1
Age
32
XP
846
Country
Canada
Dangy said:
Joe88 said:
I like to use SSH Secure Shell rather then WinSCP
but I found that ssh is rather unreliable and slow so I just opt for iFunBox instead

This.

I use SSH only when absolutely necessary. iFunBox is so much faster and consistent.

but that requires usb cable right?
 

Dangy

Well-Known Member
Member
Joined
Apr 5, 2009
Messages
1,410
Trophies
1
XP
420
Country
United States
haddad said:
Dangy said:
Joe88 said:
I like to use SSH Secure Shell rather then WinSCP
but I found that ssh is rather unreliable and slow so I just opt for iFunBox instead

This.

I use SSH only when absolutely necessary. iFunBox is so much faster and consistent.

but that requires usb cable right?

Yes. Would you mind telling me what you're trying to SSH for?

It's possible that you could use iFile if is a relatively small task.
 

haddad

Well-Known Member
OP
Member
Joined
Aug 12, 2010
Messages
1,693
Trophies
1
Age
32
XP
846
Country
Canada
Dangy said:
haddad said:
Dangy said:
Joe88 said:
I like to use SSH Secure Shell rather then WinSCP
but I found that ssh is rather unreliable and slow so I just opt for iFunBox instead

This.

I use SSH only when absolutely necessary. iFunBox is so much faster and consistent.

but that requires usb cable right?

Yes. Would you mind telling me what you're trying to SSH for?

It's possible that you could use iFile if is a relatively small task.

just transferring photo's.
tongue.gif
and i would like to do it without the use for a cable
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtu.be/MddR6PTmGKg?si=mU2EO5hoE7XXSbSr