Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
While they're both connected to the same wifi?
Good question, I dont know if there is a SSH log in program like Winscp or cyberduck that would run on the iphones platform. I never heard of one either.
 
How can i SSH into another iPhone using an iPhone?

It should work so long as you're on the same network (wifi to wifi; 3G to 3G), or have a route to the other network (3G to wifi via forwarded port).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.