Kayako Logo
Comments, Questions & Feedback Non product related discussion, feedback and questions about Kayako.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
Digital Mayhem Offline
Community Moderator
 
Digital Mayhem's Avatar
 
Posts: 844
Join Date: May 2005
Location: Henderson, Nevada

SupportSuite
Owned License

Mac + Terminal + Kayako - 02-10-2007, 11:19 PM

I just got a new Apple MacBook Pro and well I haven't used a Apple computer since Elementary School so long long time. I am trying to SSH into our server using the built in Terminal

Applications > Utilities > Terminal

I found a help site online that says type this command

ssh -l yourusername serveraddress

well our server doesn't run on the standard ssh port I tried using

ssh -l yourusername serveraddresort

&

ssh -l yourusername serveraddress -port portnumber

&

ssh -l yourusername serveraddress -p portnumber

none of them seem to work.

I know alot of you server admins out there also use Macs so figured you guys should know


Steve
Digital Mayhem, Inc.
AIM: Steve.Lawrence@Digital-Mayhem.biz
MSN: Steve.Lawrence@Digital-Mayhem.biz
YAHOO: DigitalMayhem_Steve
SKYPE: DigitalMayhem_Steve

I'm Important
   
Reply With Quote
  (#2) Old
craigbrass Offline
Senior Member
 
Posts: 5,072
Join Date: Jun 2005
Location: Cumbria, UK

SupportSuite
Owned License
03-10-2007, 08:57 AM

Try like ssh -help or ssh --help and it should tell you what to add for the port.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#3) Old
Digital Mayhem Offline
Community Moderator
 
Digital Mayhem's Avatar
 
Posts: 844
Join Date: May 2005
Location: Henderson, Nevada

SupportSuite
Owned License

03-10-2007, 03:44 PM

ya it says


Code:
usage: ssh [-1246AaCfgkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
           [-D [bind_address:]port] [-e escape_char] [-F configfile]
           [-i identity_file] [-L [bind_address:]port:host:hostport]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-R [bind_address:]port:host:hostport] [-S ctl_path]
           [-w local_tun[:remote_tun]] [user@]hostname [command]


Steve
Digital Mayhem, Inc.
AIM: Steve.Lawrence@Digital-Mayhem.biz
MSN: Steve.Lawrence@Digital-Mayhem.biz
YAHOO: DigitalMayhem_Steve
SKYPE: DigitalMayhem_Steve

I'm Important
   
Reply With Quote
  (#4) Old
Chris Boulton Offline
Member
 
Posts: 140
Join Date: Jun 2003
Location: Sydney, Australia

04-10-2007, 01:30 AM

ssh -p 22 user@localhost

Chris
   
Reply With Quote
  (#5) Old
Digital Mayhem Offline
Community Moderator
 
Digital Mayhem's Avatar
 
Posts: 844
Join Date: May 2005
Location: Henderson, Nevada

SupportSuite
Owned License

04-10-2007, 02:25 AM

ya tried that didn't work


Steve
Digital Mayhem, Inc.
AIM: Steve.Lawrence@Digital-Mayhem.biz
MSN: Steve.Lawrence@Digital-Mayhem.biz
YAHOO: DigitalMayhem_Steve
SKYPE: DigitalMayhem_Steve

I'm Important
   
Reply With Quote
  (#6) Old
rolandw Offline
New Member
 
Posts: 4
Join Date: Sep 2007
Location: London

SupportSuite
Owned License
04-10-2007, 06:59 AM

Actually ssh requires a -p for the port and -l for the user then it works fine.

ssh -p 822 -l myusername machine.mydomain.com.

You have to have the port before the machine name or IP.

If you reguarly use the same non standard port for all ssh across all your machines then you ca easily set up your terminal to always use a different port for ssh. Look in ~/.ssh!

If you are on a Mac (like me) you might want to look at using iTerm instead of Terminal. This app lets you add bookmarks so it is easy to add a bookmark to your server. Makes it dead easy. http://iterm.sourceforge.net
   
Reply With Quote
  (#7) Old
Digital Mayhem Offline
Community Moderator
 
Digital Mayhem's Avatar
 
Posts: 844
Join Date: May 2005
Location: Henderson, Nevada

SupportSuite
Owned License

04-10-2007, 10:24 AM

ya ssh -p 2382 -l myusername machine.mydomain.com. isn't working..... guess I'll just call AppleCare.


Steve
Digital Mayhem, Inc.
AIM: Steve.Lawrence@Digital-Mayhem.biz
MSN: Steve.Lawrence@Digital-Mayhem.biz
YAHOO: DigitalMayhem_Steve
SKYPE: DigitalMayhem_Steve

I'm Important
   
Reply With Quote
  (#8) Old
rolandw Offline
New Member
 
Posts: 4
Join Date: Sep 2007
Location: London

SupportSuite
Owned License
05-10-2007, 06:02 AM

I don't think that AppleCare will be coming up with an answer anytime soon - your MacBook won't start and they'll help, using Terminal and they won't.

I've just been playing with a couple of servers here - on a SLES 10 box, it seems to be fussy and wants ssh -l username -p portnum machine.mydomain.com but to other Macs and other Linux boxes it doesn't matter in which order you put -l or -p.

One other thing to check is your local Firewall. In the System Preferences, Sharing pane you probably have Remote Login ticked on the services tab (Apple's "user-friendly" name for ssh) but you might have the firewall running. If you have (see the firewall tab) then allowing Remote Login will only allow port 22 so you need to open up your own port 2382 by clicking on the "New" button.

I'll try AIMing you in the morning to see if you are still stuck.
   
Reply With Quote
  (#9) Old
Digital Mayhem Offline
Community Moderator
 
Digital Mayhem's Avatar
 
Posts: 844
Join Date: May 2005
Location: Henderson, Nevada

SupportSuite
Owned License

05-10-2007, 05:17 PM

called AppleCare and got another rep who actually uses the Terminal his self so he was a help. I had to go to apple.com and download all the latest firmwares for my MacBook Pro and then it started working using

ssh -p PORT# username@domain.com


so all is working fine now...


Steve
Digital Mayhem, Inc.
AIM: Steve.Lawrence@Digital-Mayhem.biz
MSN: Steve.Lawrence@Digital-Mayhem.biz
YAHOO: DigitalMayhem_Steve
SKYPE: DigitalMayhem_Steve

I'm Important
   
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Huge Logic Bug/Hole on Piping and User Management on Kayako??? iHubNet E-mail Piping Issues 5 12-04-2007 05:11 PM
Kayako InstAlert - Similar Mac Widget vp911 SupportSuite, eSupport and LiveResponse 3 07-02-2007 05:08 PM
[HOW TO] Get the Winapp client runing on Terminal Servers Paul Agerbeek LiveResponse Desktop Application 0 12-10-2006 11:34 AM



Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

Kayako provides online help desk software and support solutions; enabling companies to improve their support and reduce costs.

Our three main products include: SupportSuite, eSupport and LiveResponse



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46