Ubuntu Networking :: SSH Can Only Connect If Logged In Through Terminal First
Mar 8, 2010
I am having a small issue with my SSH usage. I have a main PC OS 9.10 that has a wired connection to the wireless router. My EEEPC 904HD is a wireless connection to the same router.
I use my main PC as my music store and of a night I sometimes listen to this via my EEEPC using the 'connect to server' icon. This has been the norm for some time.
Now of late my connection is being refused. Initially I thought it was to do with the SSH file of trusted connections as from time to time I have had to delete this file as rebooting of the router may have altered the IP of my machine. This usually solves the problem.
But I now have to use terminal to
I then have to confirm the connection and use the password to confirm fully. After that I can then use the GUI to get into my main PC, by inputting the IP, port, folder, user name and password, as usual.
Am I missing something? Nothing has been changed by me to have caused this so far as I know. I also have 2 folders set to share via samba over the network which works perfectly these folders are accessible by others on my home network. I use SSH for myself to fully access my folders on my PC from the EEEPC.
I was doing some rather lengthy procedures using a terminal. Then I wrote script using Kate, and input it into that terminal, and then realized that I was logged in as a normal user in that terminal as opposed to a superuser, which is how I was logged in at the other terminal. I've never noticed this before because I've never done anything that takes this long.
Is there any way to link all terminal sessions in such a way that they all show me logged in as the same user? I don't even know if this is even important, but I don't want to risk losing any things that I had done.
I'm trying to connect to a PPTP VPN service located in UK (I think) and everything seems to set to the right values. I've checked and double checked the gateway address, user name and password. But every time all I get is a brief message 'vpn connection XXXX failed'. Is there any way to know what is wrong? Is there any log file, or is it possible to connect to a VPN server from the terminal?
I wonder how we can to connect a wireless network via terminal if we use a minimal *buntu in command line, without network manager. I've found some old threads in ubuntuforums but I still can't figure out.
More for my own posterity than anything else, I thought I'd document here the way to get to eDesktop through linux (debian, ubuntu) at the University of West Florida (UWF), since they appear to only support Windows through their documentation on the University web site, and the link through Argus (the secure web site) doesn't work in Linux. This is sometimes needed to use the University resources (libraries and computer programs) from remote locations, and otherwise a google search is fruitless. I had to have a guy in the computer science department show me how to do it.This may apply for other Universities with similar setups.
is there a command (set of) which i could use to connect my USB modem while in recovery mode?
well, i tried installing Drivers for my ATI VGA and then uninstaled them (in order to install the edgers drivers). soon after the reboot i found out my key board n mouse is not recognized in GUI.
i found a little work around here
That means that you do have keyboard in that mode & there are no seriously misconfigured packages. It's the 'netroot' menu selection & don't use 'sudo' in that mode as you are in a root shell. And while there, ensure that you have established a connection (ping [URL]), and then:
# ping ubuntu.com [if this works, then proceed with the rest] # apt-get update # apt-get upgrade # apt-get install -f
Im trying to connect to my wireless network via terminal. My wifi network has a WPA2 encription. Im running ubuntu server 10.04. wifi interfaces are active, i can "see" my network with airodump. The only thing is i dont really know how to configure my iwconfig to connect to it.
When I fire up my F10, I get connected to the Internet through wireless automatically. I jus wanted to experience how the CLI- Command Line Interface world is and to test the text based internet apps like elinks,lynx etc.. So I changed the runlevel to 3 in my /etc/inittab file. Now when I fire it up, it gives me the terminal.
The problem is I am unable to connect to internet. How should i connect to the Wireless Access Points.. n also here internet is under a http proxy ...so how to configure the connection.
I have tried a lot, like
I have used this part of script many times in runlevel 5 i.e X mode under gnome for spoofing my wireless adaptor's mac id by adding a line before starting the NetworkManager service.
I have also tried something like
But this one shows nothing(no output just stays blank) I dont get why it doesnt work under runlevel 3..
I have an Intel PRO 2200BG wireless card and can connect to my router when logging in via gdm (using Xubuntu.) No problems there, connection never drops, very reliable!
But I've since had the need to shutdown X and keep a simple terminal instance open but as soon as I stop gdm the connection to the router drops. Trying to connect via the terminal using wpa_supplicant has so far been unsuccessful.
I know for a fact I'm doing something wrong, just don't know what and would appreciate some help!
Desktop Server Linux OEL 5 (not wireless) cable connected to the WRT54G router port. (I can go to the Internet with this server, but not able to communicate other computers on the WRT54G Wireless Network. Even though, the Linux Server is connected to the WRT54G router port.) From the Hyper Terminal Wireless laptop Windows/XP, I want to connect to my Linux Server.
logging in a server through putty in the same network when i executed last command its showing system ip logged in time and logged out time the output as followsthis is my system oot pts1 xx.xx.xx day month date time in time out timeand similarly am geeting other than this likeroot :0day month date time still logged in this is from more than 3 days its logged in
I can connect to my wireless router while logged in as root, but not under my user account. I went into YAST and the user maintenance area and gave myself every permission (Add, Edit, Delete Users or Accounts), but kde network maanger will not allow me to connect to my router.
I was at the login screen on my desktop and I tried to hit my samba share from my Ubuntu laptop. Couldn't find it.I logged in, went back to my laptop, oh hey it worked.I have a static IP assigned to my desktop. Is there any reason why this backfired? I'm just trying to find the proper answer for this
I have an ssh (OpenSSH_5.1p1 Debian-6ubuntu2) client A and a server B set up for public key authentication as described in [URL]
The problem is the following: ssh asks for a password when connecting from A to B without any other ssh session going on between A and B; but if I connect from A to B whenever there is another ssh session between A and B, either I get prompted for the passphrase I used to encrypt the private key or I get logged automatically.
I already checked permissions on B: .ssh is 700 and authorized_keys is 600. I already tried "StrictModes no" in sshd_config. Printing debug information using DEBUG3 does not any useful insight. Moreover, there is no /var/log/secure (is it supposed to be there?)
Right now the computer is far far away from my reach, but when I configured the system I noted that whenever I was locally logged to B and then ssh'ed from A to B, I was logged in without any problem; whenever I was not logged in locally I was asked for a password. Note that at that time I was using a different public/private key pair whose private part had no passphrase.
how to know exactly what cipher is ssh/sshd using for a particular session? Is there a way to know any statistics for a given session (something like the ~s option in section 5 of [URL]
P.S. 2: does the following mean that ssh is using protocol 2.0 or something different than protocol 2.0?
(..........) sshd: debug1: Enabling compatibility mode for protocol 2.0
This is actually for my router, but it's linux based, Anyway, I currently have a router running tomato linux firmware and at 30 minute intervals I have it send a log file of bandwidth usage to a network drive.
From there, a program calculates the bandwidth used by each IP by adding up all the totals recorded in the log files. The log files are the output of the router running the command:
Code: iptables -L traffic_in -vn
What doesn't happen though, which I'd prefer, is that the bandwidth counts inside the router get cleared upon writing each log file. This way, I don't end up counting the same bandwidth use multiple times. So my question is, is there a way to erase/reset the data count in the iptables?
I use Network Manager applet to connect to my lan (I don't use dhcp however). The problem is that my machine runs several servers (http, ftp, smb, ...) and should be ALWAYS accessible whenever the computer power is ON, even if there is no user logged. Another problem is that the connection is dropped if you logout and then login with a different user who doesn't know wireless settings (eg my mother, sister, brohter...)
So, is there a way to get a wireless connection at boot time? I mean, using Network Manager. Previously I used wicd or cli tools (iwconfig and wpa_supplicant) but then I switched to NM cause it was more ubuntuish. I'd still prefer not to use wicd, but NM really seems not good software to me
I'm trying to get SNMP setup so I can send custom snmp trap messages. I followed this "How to" [URL] and I think I have it setup and working. This is my fist time messing around with SNMP, and I don't know where to check to see if I received the trap message. Do the snmp trap message even get logged any where?
How can I edit the system proxy setting using the terminal? Which file contains this settings? I want to edit this automatically using cronjobs, cause from 8-5 I need to use a proxy, but at home I don't need the proxy. How do I fix this?
i hate nm-applet, it keep fails, and doesnt recognize network wellit fails and turns down the eth0i have to manually do this: sudo ifconfig eth0 upand also manually connect: sudo pon dsl-providerbut still i cant connect to vpn (after failing of nm, since manually connecting to internet doesnt enable me to connect via nm)i dont know how to use command "pptp" and it's manual is totally confusing (man pptp)how does nm do it? what command does it run? i want to do it myselfps: i know there is many fixes for nm-applet issues but if i solve it another problem pops out, so...