General :: SSH - Cannot Connect From Shell To Network
Mar 4, 2010
So I have my new Dell Latitude 2100 (toy) on my network running Ubuntu 9.10 as delivered. I added openssh and the service is running. I can connect to the machine from another using Nautilus or Gnome Commander over ssh. However, I cannot connect from a shell(?)
ken@taylor12:~$ ssh taylor13
ssh: connect to host taylor13 port 22: Connection timed out
Firestarter shows a connection from taylor12 to taylor13 on port 22 - the Gnome Commander connection over which I am currently transferring some files.
Query1: Actually for executing the sql query in shell script we require uname and password,the same uname and password required for 70 scripts because in 70 scripts i am executing the sql query's. If we using same uname and password in 70 scripts that is repetation problem. I want the solution for once i asked run time uname and password only once these are helpful to all remaining scripts... how it can possible?
Query2: And for every sql query executing in the each shell script i am connecting to OracleDatabase... I want the solution for connecting only once and using this connection to each and every script... what is the solution for this?
I have a CentOS dedicated server running ProFTP. I have created user accounts which are meant for FTP access only but the users cannot connect to the FTP unless their shell access is /bin/bash
Here is an example line that is outputted when I use this command:
This user can access the FTP fine, but he can also access SSH which I don't want to allow him to do. If I set his shell access to /bin/false then he can't connect to the FTP.
What can I use in instead of /bin/bash to allow FTP but don't allow SSH?
but after a few seconds the 192.168.1.56 disappears and after some other seconds disappears the inet6 address too. When I press in the nm-applet it requires me the password but in the meantime it try to connect.
At uni, the connection is a DHCP one. It works for the first few seconds but after it doesn't.
Any possible solution?
Here it is the relevant part of the syslog: (static ip configuration) http://pastebin.com/u3BPAsda
When using Fedora in VMWare, sometimes I can connect to the internet and sometimes I cannot. I do nothing differently on different days. I restart the machine and / or shut the machine down at the end of the day. When the machine starts back up the next time, I might have an internet connection or I might not have an internet connection. The 2 computer symbol that appears in the top will also sometimes be displayed. If I have that icon and click on it, it will display connections I can use including a sys one. I have a bridged connection chosen in VMWare also. Furthermore, when I click on the System -> Administration -> Network Device Control, 'eth0' is listed and it is listed as 'active'.
Yesterday I could ping out to a specific ip address on our network ( 192.168.1.xxx ). Now, I cannot ping that same ip address. I receive an error 'Destination host unreachable'.
How can I make it so that I have the internet connection every time I start up the machine? What do I need to check as far as the internet connection goes and the network connection?
Mac OS X has built-in support for internet connection sharing through the settings as in the following screenshot:
This works very well with other Macs, but I'm having problems connecting to such a network using Linux. I tried all combinations of configuration, double- and triple-check the WEP password but could never get an IP address. In a last effort I also tried without encryption, but still couldn't get my Linux box connect to the network.
I don't know if Windows has the same problem. Now I'm suspecting two things. Either I misconfigured something in my Linux installation, or OS X is doing something smart and makes it difficult for non-Apple devices to use the network (I also tested with an iPhone, it connects very well, unsurprisingly). Now what is wrong? What do I have to do?
Tried the live boot of Ubuntu 10.04 LTS on my work PC today (it has Windows Vista on it and it is literally DEAD slow). There's a wireless network in the office and the PC has a wireless network card installed. The problem was the following - I booted up Ubuntu, the "tray" was showing the network icon. I click on it, it shows me the list of all available wireless networks. I click on the one that belongs to our office, enter the password, click "Connect".
Now, here comes the problem - after "loading" for some three minutes, the same window pops back up. No errors, no messages, absolutely nothing. The password is correct because the Windows installation and the other PCs in the office can connect just fine. Anyone knows what could be the problem? The drivers are apparently fine if it can find the networks and detect the connection encryption correctly.
I have been trying to remotely access another computer (which is outside my local network) with ssh and have not succeeded. I've done everything I've seen nothing to suggest and as I opened port 22 on both computers, I have ssh configured so as to allow access from any computer (with password) and tried to log in using the external IP (the encounter with these online pages of "what is my ip"), I have a firewall turned off, the pc from which I agree is Fedora 14 that I want to access MacOS 10.5.8.
I need this because I'm running a very heavy program at the university that I can not run on my personal laptop, but do not want to have to go every day to college for this.
I am a LINUX newbie using Ubuntu. I love it so far but I am having issues. I cannot connect to the wireless network that I am using with my other Windows PC. The problem in my opinion is that the wireless device I use isn't operating. No light comes on the device. I am not sure how to "find hardware" with Ubuntu.
I have ubuntu 10.04 netbook edition running on dell mini 10 and i cannot connect to my wireless network. I entered in everything on the editing wireless network section of ubuntu. However when I try to enter in the mac address as soon as I start typing the apply button becomes unactive. I have entered it before and I did connect to my wireless net with my netbook. However I tried top connect this morning and I wouldn't let me! I did not connect automatically to my wireless net work as it had before. I am typing this message on my desktop using the same internet connection so, I know that the net is active.
i believe it is a wpa_supplicant problem. running ubuntu 10.04 on a toshiba netbook. i have my account which cannot connect to internet, wicd returns an error that it cannot obtain ip address. cannot even connect to a unesecure network for that matter. if i switch users to another user and do the quick switch users i can get internet then i switched back to my main account and here i am postings. how do i begin to hunt down the problem logs, settings how do some of you begin to hunt down the cause of this and where it would be located.
I just install arch linux yesterday. And I have an issue with the wireless connection. I can see wireless connections, when i click on thet networkmanager. But I cannot connect. If I remove WPA or any security from the wireless connection(from my wifi router) I can connect to wireless network without any issue. But when there is any security is involved to the connection it does not connect. How to connect to wireless. I've been using debian for a long time, but there was no any issue with this connecting thing. I am new to arch linux.
When I first installed my OS, Elive17, I had no problems connecting to my wireless connection at home. I scanned for networks, found our home network, typed in the key, and bingo! It still works. However, I can't connect to a open network at university. It's not encrypted, so I should be able to connect. What should I do?
recently installed ubuntu 9.10 on my HP pavalion DV4 laptop all the things are working fine except wireless connection. I am unable to connect to the wifi network.
I have a new install of Ubuntu 10.04.2 and the network will not connect. This is a dual boot desktop system with Vista. The Vista network is good. When I boot up Ubuntu, the network icon seems to be searching but then the message "Wired network disconnected - you are now offline" appears. I ran ifconfig -a & got:
eth0 Link encap:Ethernet HWaddr 00:1d:09:7b:b5:29 inet6 addr: fe80::21d:9ff:fe7b:b529/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
How can I connect to a hidden wireless network on Kubuntu? I have 9.10 64bit installed, and have the information for the network (e.g. SSID and key) because I've already connected to it on Windows.
My laptop connects fine wirelessly but when I try connecting with the cable it won't connect. I have tried an identical laptop and that connects fine so it must be the laptop but I don't know why.
How to connect my mysql database server from outside network. because its locally works and i cant able to connect from outside and different networks. when i try i am getting like this error.
ERROR 2003 (HY000): Can't connect to MySQL server on '123.136.126.179' (113)
MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.
I'm running ubuntu 10.10, in a Gateway M-6750. I can't get my wireless to work properly.
After I lose my wireless signal, I can't connect to a network again. I have to restart my computer or, remove the ndiswrapper module and insert it again so that I can connect to the network again.
I do this with:
Also, there are sometimes when the computer freezes up when trying to search for a signal.
I have configured my system to connect to a wireless network on bootup, but now every time I boot I have to wait and watch it connect (it outputs some dhcp connect stuff) which delays the boot process. is there any way to just initialize the script and then go on with the boot process instead of letting it output some pointless crap and waiting for it to end?
I was told by an experienced Linux user/IT professional that older Broadcom wireless cards had embedded code preventing access through non-Windows OS's. I was told that there were drivers that were basically "hacks" for skirting this issue. I've tried two different drivers and neither seems to be doing the trick. My current driver is the "Broadcom STA wireless driver".
Symptoms
Recognizes my network and others Says it's connected Won't load any web pages Frequently asks for authentication I've authenticated using my network password and my router's security key
Here's what the terminal says about my wireless card:
I am using Squeeze and all appears OK at first... I have a DHCP lease, PING to router works, apache servering fine in and outside the network, Epiphany seems to connects to default debian.org only, BUT I cannot connect to any other websites and apt will not connect to any servers. I installed once, tried to fix problem, gave up and reinstalled and still have the same problem.
I unistalled Network Manager thinking that was the problem, but still the same issue. Is there a default firewall blocking certain connections or am I missing something I'm supposed to know about? I installed some non-free firmware in the beginning of install and all worked... and I connected fine when downloading packages during install.
I can connect to the internet through wifi, but I cannot connect to anything on my network. I have a printer and a NAS, so I would really like for this to work again. I have a dell laptop with a Broadcom card.
I'm trying to connect to a wifi network where it hijacks all requests and redirects you to a page where you have to agree to a terms of use before it lets you connect to the actual outside world. This is a pretty common practice, and usually doesn't pose much of a problem. However, I've got a computer running Ubuntu 9.10 server with no windowing system. How can I use the command line to agree to the terms of use? I don't have internet access on the computer to download packages via apt-get or anything like that. Sure, I can think of any number of workarounds, but I suspect there's an easy way to use wget or curl or something.
Basically, I need a command line solution for sending an HTTP POST request essentially clicking on a button. For future reference, it'd be helpful to know how to send a POST request with, say, a username and password if I ever find myself in that situation in another hotel or airport.
it has Adobe Illustrator, I would like to get a file or three across to it. How? The only Mac bit that seems to know what a network card is is something called 'airport'. DHCP is all around it. "Network" means 56k modem, which can't connect to anything. If I show it a usb disk, it wants drivers, which apple hardly have up still for os 9.0.4.