SSH over the Internet to connect to iMac
I have an iMac 10.5.2 at home behind Airport Extreme Base Station. I would like to know what command to use to connect the iMac from outside the network. The cable modem is just that and not a router. Currently my settings are setup to have the Airport distribute IP addresses. Port 22 is open and Remote Login is set in the Sharing Pane. If there is anything else I am missing please let me know. Any help would be great, thanks.
I'm having the same problem as well. I have the Airport Extreme and I've configured the port mappings to port 22, open the ports on the imacs firewall and even then I can't establish a connection on my LAN, much less from outside of it.
Similar Messages
-
I have an iMac 10.5.2 at home behind Airport Extreme Base Station. I would like to know what command to use to connect the iMac from outside the network. The cable modem is just that and not a router. Currently my settings are setup to have the Airport distribute IP addresses. Port 22 is open and Remote Login is set in the Sharing Pane. If there is anything else I am missing please let me know. Any help would be great, thanks.
What do you have set in SystemPreferences>Security>Firewall? While there click 'Advanced' and see if you are getting messages in the Firewall log.
-
JDBC MYSQL localhost vs. over the internet
I am new to java so please take it easy on me. I have a little bit of a crisis here and want to make sure I understand what it is that I am trying to accomplish.
I have a Java application that I want people to run from their machine that access my web server over the internet and connects to my MYSQL database. It uses webstart to download application to their machine where they run it locally. Here is how I have this setup. Is this not a standard practice? Or should I have used a different Java technology to have them run the application directly from my server using localhost instead of mywebsite?
So, am I using java in a practical way using mywebsite.com:3306 and the user running it locally on their machine. Or do I have to set this up so they run in on my server using localhost?
try
String userName = "testuser";
String password = "testpass";
String url = "jdbc:mysql://mywebsite.com:3306/test";
Class.forName ("com.mysql.jdbc.Driver").newInstance ();
conn = DriverManager.getConnection (url, userName, password);
System.out.println ("Database connection established");
catch (Exception e)
System.err.println ("Cannot connect to database server");
}Edited by: crusherdestroyer on Jan 20, 2010 10:28 AM
Edited by: crusherdestroyer on Jan 20, 2010 10:29 AMGood evening, CD.
As the others have said, you should not have your SQL server exposed to the public. If you use ACLs or similar and allow only trusted hosts to access your MySQL server, you should be fine to continue as-is (Java client connecting to TCP port 3306 of your server if I understand your explanation correctly.) If you want to convert your simple application to a server-side app, you could also use something like procrun if your server is running Windows or jsvc for UNIX/Linux. This will enable you to run your app as a service/daemon and you could configure it to listen on an arbitrary port for incoming connections and use the app as an intermediary for interfacing connecting clients with your MySQL database. This is just another idea opposed to installing and configuring Tomcat, Jetty, or the like and possibly a webserver in front of that.
Regards,
Lloyd Dilley -
Easy cheap way to administer a standalone iMac over the internet
I have an iMac G5 running Tiger and wish to administer and manage my father's iMac G5 also running Tiger, over the internet, rather than having to physically travel to his place everytime he has a difficuly with his system.
I will only be using this to manage 1 computer (not a network) so I simply need to be able to log into his machine as administrator and check logs, manage software versions etc.
What cost effective software solution do recommend to perform this task (I understand that Apple Remote Desktop will do this easily, but is more feature rich and expensive than what I probably need).
Cheers
SteveEasily done. One way is with OSXvnc/Chicken of the Sea. OSXvnc is a small vnc server application (open source) that you'll put on your parent's machine. Chicken of the Sea is the vnc viewer app that you will put on your machine and will open every time your parents call for help. Setup is fairly straight-forward, even for someone new to the concept. These can be downloaded from versiontracker.com and macupdate.com.
Another way to do this is with the slightly more capable Vine viewer/server package from Redstone Software. Apparently just released and available for downloading and trying. The server part is simply an upgraded version of the OSXvnc app. It's free (and also available on versiontracker, etc.). The viewer part costs 19.95 through November (I think), but it is much easier to use than Chicken of the Sea and allows you to copy and paste files between machines.
https://www.redstonesoftware.com/products/vine/viewer/index.html
One caveat: I have not tried these remotely myself -- only on the ethernet network here at home, consisting of three macs -- but I've been told they can connect distant machines as well. Try these, and if you can get any of them to work remotely, please let us (me!) know.
One option that costs more than these mostly free offerings (but considerably less than Apple Remote Desktop!) is Netopia's Timbuktu Pro 8. You'll need to buy a copy for each machine (twin-pack download for 180 dollars), but they do advertise remote connections via the Internet. They have a two-week demo that you can try before you buy. It also has some kind of Skype integration that makes for easier connections.
http://www.netopia.com/software/products/tb2/mac/ -
How can I set up my macbook air to use programs on my iMac over the internet?
I have a program (MacPractice) on my iMac. It's running the server program while my MacBook Air is running the client software which has to be connected via the wireless (last Gen Time machine) in my office to function. What do I need to do to be able to access my iMac over the internet when I'm out of the office? I was told that I would need to set up a DNS (?) address to log in. I use a Comcast internet modem which goes through my Time Machine wireless router to my iMac. Is this even possible to do with the current setup?
Ok, in this case your iMac will be performing as an application server. As such, it will need to be "reachable" from the Internet. This is typically done in one of two ways: 1) It is assigned a static Public IP address, or 2) It is assigned a static Private IP address.
In the first method, your iMac will be like any other publically available server (Web, E-Mail, etc.) To accomplish this, you would need for your ISP to provide you with a static Public IP. You can then configure the AirPort Extreme to allow remote clients to access this server by creating a DMZ for the server. This would fully expose your iMac to the Internet.
In the second method, you would assign the iMac a static Private IP address that is just outside of the default range of the AirPort's DHCP service. You would then configure the AirPort for port mapping. Which ports that will be needed to be mapped will depend on what your application's support tells you. -
Connecting to a database over the internet
Hello ,
Ok heres an interesting question -
I would like to have an applet running on my browser which needs to connect to a central server over the internet, which in turn will need to connect to a database and query some results. These results will be stored as flat files within the server.
At the moment, I have a URL that connects to the database via the
internet and that is working. However I don't think my applet on my browser will be able to create a flat file on that server direclty.
Could some one please tell me how to go about this problem?
ShaliniYes, put a servlet in between the applet and database. Let the servlet interace with the database on the applet's behalf and write that file on the server side.
% -
I have just bought a new imac over the internet. it does not start up which store can I return it to?
jimoefrompymble wrote:
I have just bought a new imac over the internet. ...
If Purchased from Apple... Contact AppleCare... you have 90 days Free Telephone Support... 3 years if you Purchased the AppleCare Protection Plan. -
How can I connect to my Mom's machine over the internet?
I installed ARD 3.6.1 on my laptop and was able to do a successful Intereact > Control to my Mom's machine from my machine while at her house, but when I went home to my house and tried the same thing I got the message:
"Connection failed to Mom's Computer. . . Please make sure that the Remote Mgmnt is enabled . . . Also make sure network connection is working properly."
Any clues?
GregYes you can do this, connect to another computer over the internet using ARD--if you a person who likes to sleep on a bed of nails for the fun of it, who enjoys unanesthetized body piercings. But this product is not designed for this. It's designed for using on networked computers. After spending about ten hours tryng to make it work, I was finally told by a wise Apple support guy that while such a thing is possible, grasshopper. it's really hard and impractical, and even if you get it work, it probably won't stay working. I was given a refund and told to look for a more suitable product.
Voila, I found it! The logmein.com free product does everything I want. Everything! In less than 15 minutes.
My beef is with the Apple ARD website. Why don't they just say at the beginning:
Warning: Not designed to support your mother's frickin computer over the internet!
Would've saved 10 hours of grief and two calls to Apple Support. -
Time Capsule connection over the internet
I bought the new Time Capsule 2T. I do travel a lot and want access to my files on the HDD of the Time Capsule. Despite some info on the internet I can not connect my Time Capsule over the internet. Any ideas how I can set my Time Capsule in such a way that I am able to connect over the internet.
[this|http://discussions.apple.com/thread.jspa?messageID=12994417�] discussion might provide pointers.
JGG -
Best Way To Set Up Screen Sharing Over The Internet
What is the best/simplest way to set up screen sharing over the internet so I can remotely control my Mac at home from my Mac at work? My Mac at work is running 10.5.6, my Mac at home is running 10.4.11.
simplest
Get both Macs up to Mac OS X (Leopard). Then use Apple's MobileMe Back-to-my-Mac service.
Or, use iChat screen sharing along with the iChat free 3rd party Chax add-on which allows selected iChat Buddies to auto-accept an iChat screen sharing request. Free AOL Instant Messaging accounts can be used as the iChat accounts.
If you do not want to upgrade all systems to Leopard...
Next would be using the free LogMeIn.com account, or similar service. This will work
The above avoid needing to figure out how you get through the home routers, and provide encrypted screen sharing sessions.
After that you need to arrange for router port forwarding. If you want secure connections, then you should arrange to port forward the SSH port 22, then use ssh tunnels for VNC based screen sharing connections. There are GUI based utilities that will help setting up SSH tunnels. Do some searches over at VersionTracker.com or MacUpdates.com -
Accessing my Time Capsule hard drive over the internet via iCloud doesn't work.
Hi Everyone,
I have an iCloud account and read recently, that it is possible to acces the hard drive of an Time Capsule over the internet, if "Back to my Mac" is activated on my MacBook an the Time Capsule.
I updated the Time Capsule to Firmware Version 7.6.1 and the Airport Utility to version 6. Actually the Time Capsule HDD is displayes in Finder's Sidebar, when I'm using a forreign internet connection. But when I click on it an error message tells me that a connection to the server (I assume server=Time Capsule) cannot be established. Funnily enough I can access the HDD of my iMac at home.
The Time Capsule network setting is "Bridge Mode" Since I can't deactivate the DNS functionality of my router/mode, an easybox 803 A, unfortunately which I cannot replace, because it is also used for hosting the telephone.
Does anybody have an idea, where the problem could be? Wrong settings in the Time Capsule config or maybe the blocking by the router?
Thank you all in advance,
Markus
Please consider, that I have absolutely no idea of networking.I don't know exactly how, but I got it working. I will try to explain, what I did.
1. I used the easybox as DHCP-Server an set the TC to Bridge Mode.
2. Then I gave the TC a fixed IP in the easbybox menu by using it's MAC-address (It seems that the address range has to be either 192.168.X.Y or 10.0.X.Y to make the TC accessable later).
3. I made the TC a DHCP-Server (DHCP only, not also NAT). The IP addess range of the TC starts after it's own IP adress (10.0.0.111) and ends at (10.0.0.250). The IP range of the easybox starts with 10.0.0.1 (it's own) and end with the TC's (10.0.0.111).
4. Then the Airport Utility told me that if I want to share an DHCP range the TC has to be set to a fixed IP setting, which I set up, leaving the IP-address 10.0.0.111 and the Router IP 10.0.0.1 (the easyboxs').
5. Then it worked in my case. Since I don't even know what I did, I'm not shure if it workes under other circumstances.
There are of course many variables. Such as the type of the router and the TC or the kind of the internet connection. -
Accessing a local server web service over the internet
Hello,
This is not the first time i will configure over the internet access to a local server but this particular one is giving me a major headache and i thought to share the config with anyone who can help ppoint where the problem may be. While my NAT transalations seem to be working, when i attempt to browse the public IP, i am supposed to be routed to the local server, but this doesnt happen and i just get a blank page on my web browser. Please see config below:
J#sh run
Building configuration...
Current configuration : 5368 bytes
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname J
boot-start-marker
boot-end-marker
enable secret 5 $1$aNyD$j4lIgFXI84Xp9RR5dzwVk0
aaa new-model
aaa authentication login default local
aaa authorization exec default local
aaa session-id common
clock timezone PCTime 1
crypto pki trustpoint TP-self-signed-1366127775
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1366127775
revocation-check none
rsakeypair TP-self-signed-1366127775
crypto pki certificate chain TP-self-signed-1366127775
certificate self-signed 01
30820255 308201BE A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 31333636 31323737 3735301E 170D3032 30333031 30303533
35315A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 33363631
32373737 3530819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100CCDC 58E9E078 C978DBC5 CD0D97A0 6B506E2B 4843F38C 578721BF 285EC7BF
F3700E9C FAD9233C A4CC95F6 F29FE5CD 4664F85F 862FB879 1255F21B 725A2773
E1E4BEC0 632A7FFD C383F08E D5FAA4FC 4558BE6B 1B383D7E 19A871F6 3BAB9BAE
B7CB84BB 510A09A3 FA260893 B0BD5AB1 027C97C6 2B2D2B6C AE2683FC AC3015B6
CE8F0203 010001A3 7D307B30 0F060355 1D130101 FF040530 030101FF 30280603
551D1104 21301F82 1D4C494E 45545241 4C455F41 424A2E6C 696E6574 72616C65
2E6C6F63 616C301F 0603551D 23041830 16801434 DD7F3F33 59A951AA 1BBBF414
59302323 10248530 1D060355 1D0E0416 041434DD 7F3F3359 A951AA1B BBF41459
30232310 2485300D 06092A86 4886F70D 01010405 00038181 00A9C9DF 5D2F2042
0AA151FF 72F7D52A 8244C102 4AEDDB6E C7FBA201 A283D693 5F5E9376 0D15E7FE
EBB804A5 C08F6CA1 A416118F D5A06864 EF242404 091F2FFE 3F85B0DE 98E1F747
AC5FBBDE 1E27AE14 64D71B5F A1A48EC7 90882BD2 C3617E7C 8D6426A0 EDA23AB1
32350B15 5E2489F6 018A76A0 3E1595DA 6797723E 563D268A 66
quit
dot11 syslog
no ip source-route
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.1.111 192.168.1.254
ip dhcp pool J
import all
network 192.168.1.0 255.255.255.0
default-router 192.168.1.254
domain-name linetrale.local
dns-server 192.168.1.254
no ip bootp server
ip domain name linetrale.local
crypto ipsec transform-set 3DES-SHA esp-3des esp-sha-hmac
crypto ipsec transform-set AES-SHA esp-aes esp-sha-hmac
crypto ipsec transform-set 3DES-SHA-compression esp-3des esp-sha-hmac comp-lzs
crypto ipsec transform-set AES-SHA-compression esp-aes esp-sha-hmac comp-lzs
crypto ipsec transform-set ESP-3DES-SHA2 esp-3des esp-sha-hmac
archive
log config
hidekeys
ip tcp synwait-time 10
ip ssh time-out 60
ip ssh authentication-retries 2
interface FastEthernet0
switchport access vlan 101
interface FastEthernet1
interface FastEthernet2
interface FastEthernet3
interface FastEthernet4
description WAN_FW_OUTSIDE$ETH-WAN$
ip address x.x.x.x 255.255.255.192
ip verify unicast reverse-path
no ip redirects
no ip unreachables
no ip proxy-arp
ip mtu 1400
ip nat outside
ip virtual-reassembly
ip route-cache flow
ip tcp adjust-mss 1380
duplex auto
speed auto
interface Vlan1
no ip address
interface Vlan101
description LAN_FW_INSIDE
ip address 192.168.1.254 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip accounting output-packets
ip nat inside
ip virtual-reassembly
ip route-cache flow
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 y.y.y.y
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip dns server
ip nat inside source list 1 interface FastEthernet4 overload
ip nat inside source static tcp 192.168.1.243 80 x.x.x.x 80 extendable
! x.x.x.x is the public IP
access-list 1 remark INSIDE_IF=VLAN101
access-list 1 remark SDM_ACL Category=2
access-list 1 permit 192.168.1.0 0.0.0.255
control-plane
line con 0
no modem enable
transport output telnet
speed 115200
line aux 0
modem InOut
transport output telnet
stopbits 1
speed 115200
flowcontrol hardware
line vty 0 4
privilege level 15
terminal-type moni
transport input telnet ssh
scheduler max-task-time 5000
scheduler allocate 4000 1000
scheduler interval 500
webvpn context Default_context
ssl authenticate verify all
no inservice
end
Any help will be really appreciated.
Regards,
FemiHi Alain,
Browsing the public IP from a remote location to the site, so its over the internet.
Not sure I understand what you refer to as SVI, could this be the VLAN? If it is, then I can say it is up because I can ping the server which is on this VLAN from within the router when I log into it. Also, when I am within the LAN, I am able to browse to the local IP on the server.
I suspect some firewall or access list issue may be preventing something...
Regards,
Femi -
How do I access my time capsule over the internet
How do I access my time capsule over the internet. I've already set it up to share over WAN, but I have ATT so my TC is connected to the router provided by ATT can I still access my TC via the internet even though its not directly connected to the Ethernet?
The TC should be in bridge mode.. not setup to share over wan.. that will never work. That is assuming you haven't bridged the ATT router.
Once you bridge the TC see if you can setup BTMM using icloud settings in the TC. As per the Apple docos.. here.
You should also be able to directly access the TC since you have a router with dyndns client at a guess.. the setup is simply forward port 548 to the TC.
Google search this.. there is huge number of resources available. eg
http://useranswer.com/answer/how-can-i-access-my-time-capsule-remotely-with-iclo ud/ -
Can not view video over the Internet on WVC80N
I set up the web cam, set up the port forward etc so now I am able to:
1. view/change web cam settings inside my home network.
2. view video inside my home network.
3. view/change web cam settings over the Internet.
But I am not able to view video over Internet. Every time I did so (using IE browser), after clicking the view video button, I got an error : There are too many user connections or the device is busy, please try again latter.
Anyone has a fix on this? I set up port forwarding on port 1024 (that's how I can chage settings over Internet).
I spent 2 hours on the phone with Linksys tech support but they could not find the reason.
Thanks,
SamWho is your ISP? How you are trying to access your Camera from the remote location? Along with Port 1024 you need to do port forwarding for port 80 on your router for the Cameras IP address. As WVC80N works on your HTTP Port.
To access your camera from the Remote location, you need to use http://wan ip:80. -
Unable to see Dashboard over the internet (Portal)
Dear All,
I have one issue here which is bit technical,
I have made an Xcelsius Dashboard (Connection Type: Excel XML Maps (BW Queries)) and uploaded SWF file on to KM Repository in Portal. I have created Document iview and a role to published the dashboard on Enterprise Portal.
Now when i am trying to access that Dashboard from Portal within local network it works fine but when i try opening the same Dashboard over the internet from home it gives an error.
ERROR DETAILS:
To access external data, add a cross-domain policy file to the external data web server.
For more information, on the Adobe website, see the article u201CCross-domain Policy File Specificationu201D.
If the problem persists, contact the file creator or your system administrator.
Error: Error #2048
Connection Type: Excel XML Maps
File URL: https://www.portal.com/irj/go/km/docs/documents/dashboards/dashboard1.swf
External Data URL: http://bwserver.domain.com:8000/sap/bc/bsp/sap/zbo_data/Data.xml?infocube=ZFIGL_FM&query=ZFIGL_FM_Q0003_BO&VAR_NAME_1=0P_FYRA&VAR_VALUE_EXT_1=2009
I have added crossdomain into WebAppl Srvr of BW Server .. Created BSP Application ---> Imported crossdomain file ---> set BSP App in Default Service.
Please suggest me possible Solutions.Closing Thread
Maybe you are looking for
-
Slow iMac after Yosemite update
I have an older iMac that seems to be very slow on start up and sometimes I just get a white page and have to restart. Any ideas how to fix? Thanks
-
How to set a dynamic textfield?
How to set a dynamic textfield that can baseon the user input data to resize the textfield height and width? Beside, I would like to copy the MS word table into the Form textfeild with the original design, how to do that? Many thanks!
-
SOAP integration with mySAP CRM system
Hi, Currently I am using JCO to connecting to mySAP CRM system as per the following configuration: <b>Version: ISA 3.0 SP13 </b> Java Version: 1.3.1_07 Java VM Version: 1.3.1_07-b02 JCo Version: 2.0.5 (2002-09-03) Servlet Engine: SAP J2EE Engine/6.20
-
HP B210 compatibility with lion?
I recently upgraded from Snow Leopard OS X v10.6 to Lion OS X v10.7. In duing so, my scanner applicaiton/driver on my HP B210e printer quit working. I can still print, but can no longer scan documents to my MAC. When I uninstalled and attempted t
-
Cannot set alarm between 2:00 am and 2:59 am
iPhone 4 with iOS 4.3 I cannot set an alarm between 2:00 am and 2:59 am. The alarm actually sets itself as 1:xx am. It's only 11:30 pm eastern as I write this and I'm guessing as the clock ticks over to March 14th this will go away but what the heck?