Ubuntu Networking :: Cannot Ssh Into Computer - Error "could Not Access PID File For Sshd"

Mar 31, 2010

I'm having a problem with my ubuntu 9.10 machine. I can ssh out of the computer, but not in. I have /etc/init.d/ssh, but not /etc/init.d/sshd - don't know if this is normal If I run /etc/init.d/ssh status I get: robot@cora:~$ sudo /etc/init.d/ssh status * could not access PID file for sshd

If I run /etc/init.d/ssh restart (or stop then start) then I can ssh both ways. But I cannot get this to work automatically at boot. The machine is going to be in a remote location, so I need the ability to ssh INTO it after reboot, which I don't have. I have confirmed that start files are located in /etc/rc3.d/S16ssh

I've uninstalled and reinstalled openssh-server (via "apt-get remove openssh-server" and "apt-get install openssh-server") and this did not help. There are both /etc/ssh/ssh_config and /etc/ssh/sshd_config files that look like they are standard (compared to what I've found from web searches). /etc/init.d/ssh is also standard.

View 8 Replies


ADVERTISEMENT

Networking :: No Sshd Access From Outside LAN?

Jan 19, 2011

I can't ssh into my Dad's machine. He can ssh in from another computer on his network, but I can't get in across the internet. I thought we had port forwarding set up correctly on his router. (Westell 327W running verizon software - sshd application, port 22 to port 22, tcp).

I can exchange keys with his server but I get. "Permission denied, please try again" when I try and login. An nmap scan (with -PN option) on his IP shows the open port.

PORT STATE SERVICE
22/tcp open ssh

View 8 Replies View Related

Networking :: Sshd Access By IP Address OR Certificate?

Sep 28, 2010

I have a site in India that needs to be accessed by our offices round the world. I have added AllowUsers lines for the static IP's in those offices. However, we also have a couple of people who travel and don't have static ip's. Is it possible to enable both AllowUsers for the offices and have certificate access for the others?

View 1 Replies View Related

Ubuntu Networking :: Want To Access Windows File From Another Computer On Network Via Python

Jun 19, 2011

I wish to write a python code so that I can access a file on a windows computer on the network. I know the IP, Computer Name, Workgroup, username,password and any other neccesary detail of the computer. I also have the access to the computer to intall any software I may need to install on the said windows computer.

Kindly guide me so that I may access the files. The files are in a folder shared over the network but not on the windows drive of the computer.

I am able to access the files using gui (ubuntu 11.04).

View 1 Replies View Related

Ubuntu Networking :: Move HD To New PC - Can't Access Computer From Other Computer

Sep 21, 2010

I have ubuntu server installed on a pc. The motherboard died, so I switched the HD to another computer. Everything is fine except the network. I cannot access this computer from other computer (while it was possible before). I looked at the interfaces and everything seems fine. The nic itselft seems to work too.

View 1 Replies View Related

Software :: Access Computer A's Shares As Well As The Third Computer, The Aforementioned Computers Cannot Access Computer B

May 28, 2011

I have three computers in my network, but two will be mentioned. Computer A is a Linux Mint 9/Windows 7 dual-boot, and I have just installed Mandriva Free 2010.2, which I will call Computer B.

Now my main problem is that Computer B, while it can see and access Computer A's shares as well as the third computer, the aforementioned computers cannot access Computer B. The message was: "Unable to mount location/Failed to mount Windows share." Now, the SMB protocol was used because of the third computer and Computer A have Windows OSs installed in them.

What I originally wanted was that I can share Computer B's NTFS partition, namely Documents and Downloads, to the other computers. And I can't do that, because of the error message.

What I can do, however, is use Computer B to view shares from the other two computers (Computer A, as an example). By my experiences in Linux Mint, I understand that I'd have to mount my Windows partitions in order to share them. I don't even know if my NTFS drive in Computer B is mounted, though that is what was described.

View 2 Replies View Related

Ubuntu Networking :: The Phone Can Access The Internet Through The Computer Unable To Get Access To Https Sites, Like Webmails

Dec 31, 2010

I managed to configure my W890i phone to get access to internet through an ubuntu-based computer. It's very easy to use the phone to give internet access to the computer, but the opposite is quite more tricky. For that I've done the following

----On the phone---

-Set the USB network option to "through computer", so that the phone uses the computer's internet connection and not the opposite.

-Decide and set "Shared Network" parameters: user, pasword and workgroup.

-In "conectivity-> internet connection" set "allow local network" to "yes"

----On Ubuntu 10.04---

-Install samba, samba-client, smbfs, smbclient, firestarter and dhcp3-server

-Configure Samba (System-> Administration-> Shared folders): same workgroup as in the phone, add new user (the phone), passwd this new user. In my case the user was called "w890i" and the password given was the same.

-Once the phone is connected to the computer through USB (then select "phone mode"), a new connection appears in NetworkManager: usb0.The aim is to create a shared network that gives internet access to this device. Edit the IPv4 parameters of this new connection, set them to Manual and give an IP adress (192.168.0.1) and a subnet mask (255.255.255.0); the rest of the fields are left empty.Connect this network.

-Set firestarter to use dhcp3: sudo ln -sf /etc/init.d/dhcp3-server /etc/init.d/dhcpd

-Launch firestarter and follow the wizard. Set "allow internet shared connection", choose the device for the primary internet access, and then the device for the shared network (usb0). Then change the settings for firestarter: activate DHCP for local network, set IP to the one we gave before (192.168.0.1).

-Open dhcp3-server config file sudo gedit /etc/default/dhcp3-server And set INTERFACES="usb0"

-Set the policies of firestarter: in incoming connections, allow connections from the IP adress given to the phone (192.168.0.1). Then add rules for the ports that need to be open for this connection. I opened HTTP, HTTPS, SMB, SMTP, POP3, IMAP, IMAPS, DHCP for all the connections in the local network.

-Apply policies and start the firewall.

------------

After all this, the phone can access the internet through the computer. Two problems appeared:

1. I couldn't get access to https sites, like webmails. The phone gave a "communication error". But then I tried with Opera instead of the browser built in the phone's firmware, and I could finally get to https sites.

2. I couldn't retrieve mail, neither POP nor IMAP nor IMAPS. I thought it was a firmware problem again, and I tried out several mobile phone email clients written in java, but none of them worked.

So this is at the moment the problem. If I connect from the phone to the internet directly through 3G, the email clients work for all my accounts. I don't think it's a firewall problem, because the ports are opened for this connection

View 3 Replies View Related

Ubuntu Networking :: Samba File - Access Shared Folder - Error: Failed To Retrieve Share List From Server

Sep 24, 2010

I have been having off and on issues with my samba file shares. I am sharing a NTFS formated hard drive where the mount point is in my home directory, as well as a printer connected via USB. I am to the point where printing works (using it as an ipp print share, samba is configured for it, but I don't know if it works or not), and I can access the shared folder from Windows, but I can't access the shared folder from any Ubuntu machine. I get the error:

[Code]....

View 5 Replies View Related

Security :: IP Blacklist(s) For SSHD Access Control

Nov 4, 2010

Quick explanation about what this thread is: by way of an article featured on linuxtoday, I learned about what appears to be an actively managed IP blacklist: [URL]

# This is a compiled list of dirty hosts associated with
# bruteforcing attempts, spam, botnets, RBN and the list
# continues to grow. The data is comprised of information
# compiled from Arbor Networks, Project Honeypot, FIRE
# (maliciousnetwork.org), Host Exploit, Shadowserver and
# a variety of other similarly based sites.

Quick explanation about what this thread is not: this is not intended to be a discussion about default deny vs. default allow (i.e. whitelists vs. blacklists), nor is this a call for enumerations of your own sshd hardening strategy. Please try to keep on point. That said, can anyone speak to the quality of the blacklist information noted above? And/or are there any suggestions for a readily available blacklist of "known better" quality? I plan to try including an actively maintained blacklist like this into a multi-layered approach for hardening an sshd bastion host.

View 4 Replies View Related

General :: Monitor Connections To & File Access On Computer?

Jul 14, 2011

Where can I find a complete list of all the logs in the system?

I would like to know the following:

Which were the last connections to my machine (IP addresses) What were the files accessed by that IP address

I am using CentOS (don't remember the exact version it's probably 5.6 or 6.0).

View 2 Replies View Related

Fedora Security :: SELinux Blocking Sshd Access To Shadow?

Mar 6, 2010

I'm trying to setup ssh access on my Fedora 12 laptop. I get the following error message in /var/log/secure when I try to login from another machine using ssh and the login is denied:

Code:

sshd[3025]: error: Could not get shadow information for <user>
sshd[3025]: Failed password for <user> from <ip> port <port> ssh2

If I do a 'setenforce 0' I can login and no error is logged.

View 10 Replies View Related

Ubuntu Networking :: Can't Access Computer From Windows 7

Oct 23, 2010

I recently decided to install Samba in Ubuntu as a home file-sharing server. However, when I try to access this computer from another (using Windows 7), an error messages comes up. It says: "You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

The specified domain either does not exist or could not be contacted."

View 6 Replies View Related

Ubuntu Networking :: Cant Access Other Site From Other Computer?

Nov 3, 2010

running apache2, i have already created a working sites. using virtual name hosting.but my problem is, i cant access my other sites except my server's localhost from other computer. i dont know what seems to be the problem, can you guys point me where to start looking?

View 2 Replies View Related

Ubuntu Networking :: Windows Can't Access Computer Through Network?

Mar 26, 2010

So, I'm trying to set up a network with my windows netbook so the Ubuntu comp can access the internet through the netbook's wireless. Finally got the network set up, but can't access the internet on the Ubuntu comp. Also, the Ubuntu machine can recognize and access the files on the netbook, but the netbook only sees a computer named Owner-a6012abd6 which asks for a password.

The netbook is running Windows XP SP3, with an Atheros AR9285 Wireless Network adapter(internet) and an Atheros AR8132 PCI-E Fast Ethernet Controller. The Ubuntu comp is running Ubuntu 9.04.

View 1 Replies View Related

Networking :: Get Internet Access On Desktop Computer Through Networking?

Sep 10, 2010

I'm not really a newbee in Linux but I am a newbee in networking. I have both a Ubuntu laptop and a Gentoo desktop computer. I have just bought me the MBR1000 Cradlepoint router and it works great with my Verizon USB 760 modem plugged in it. I can now send and receive email on my Ubuntu laptop. I like it.My Gentoo desktop computer is just sitting there with no Internet access because my Verizon modem is no longer plugged into it but plugged into the router instead. Only my laptop now has Internet access. The laptop has an integrated wireless card built in the MB but my desktop has no such capability.

Is there a way (besides buying a wi-fi adapter) to get Internet access on my desktop computer through networking so that the router would give both computers Internet access at the same? My Gentoo desktop does have an ethernet adapter that perhaps I could useThe router has several LAN ports and one WAN port, both unused.

View 2 Replies View Related

Networking :: Access My Websites From A Different Computer?

Apr 26, 2011

I have been studying LAMP for a while now and all my websites are on the localhost. But if i wanted to access my websites from a different computer, how do i access do that? LAMP (192.168.0.2) client (192.168.0.3). Do i need to setup the DNS servers as well in my home network for me to access my intranet (LAMP).

View 2 Replies View Related

Ubuntu Networking :: Turning Computer Into Wireless Access Point

Sep 8, 2010

I am in a situation at the moment which means I am going to be without an ISp for a week or two, and I can't survive that long without the intenet!!! What's more, I have 8 computers that need to connect, though not necessarily at the same time, but certainly more than one at a time. Anyway, I came up with an idea to buy a Mobile Broadband Dongle, and then share the connection via my PC. Problem is, I don't know how I would go about setting my PC to be a Wireless Access Point/makeshift Wireless Router, and sharing the connection.

View 9 Replies View Related

Ubuntu Networking :: Public IP To Access Computer From A Remote Site?

Oct 13, 2010

How I can benefit from a public external IP? Do I need a public IP to access my computer from a remote site?run a tftp server ?

View 1 Replies View Related

Networking :: Access Computer Files From IPad?

Jun 12, 2011

I'm not familiar at all with the networking functions of linux systems, but I just bought an iPad, and I want to store all my movies, music, and documents on my computer at home, and access them from my iPad. I've heard a VNC client is the best way to go. But will this allow me full access, or just to view the screen? Will I be able to watch movies at the highest framerate with this method?

View 3 Replies View Related

CentOS 5 :: Get SSHD To Log EVERYTHING To It's Own Log File?

Jan 22, 2011

How do I get SSHD to log EVERYTHING to it's own log file? I tried this in sshd_conf:

SyslogFacility SSHDLOG
LogLevel DEBUG

View 3 Replies View Related

Ubuntu Networking :: Cannot Access The Shared Folders Until Login With Account To The Computer?

Feb 8, 2011

I have set samba shared folders on my ubuntu 10.04, which Windows users on my network use. The problem is, even that I leave the computer on, they cannot access the shared folders until I login with my account to the computer.This is a real problem since I either need to come to the office, login with NX or tell them the password which I don't want to do

View 5 Replies View Related

Networking :: Cannot Access The Web Server From The Computer Running Apache?

Aug 3, 2010

I set up my first web server and it works flawlessly -when accessed from external network or from other computers on my lan. However, I cannot access it from the computer where the server is run on. I have found numerous people with similar problems but the flavour I am experiencing is somewhat different and no solutions I have found apply to it.

I have two network interfaces on my server, eth0 (public static IP connected to internet directly) and eth1 connected to LAN 192.168.1.0/24 range. The server is 192.168.1.1. It is connected directly to the internet and serves as a SNAT for other comps on the lan.I added "192.168.1.1 www_server_com" to the /etc/hosts on the server and also on the other machines on the LAN. All the other machines can open website without any problem.HOwever, the server itself only opens website if the address islhost. Internal IP, i.e. 192.168.1.1. gets a time out and so does www_server_com ( I cant use dots as I do not have more than 15 posts on the forum )Here is the firewall script I am using.

#!/bin/sh
#
# Example Firewall Script

[code]...

View 2 Replies View Related

Ubuntu Servers :: Strange Upstart Error When Restarting Sshd / Sort It?

Aug 18, 2011

For the last umpteen years of my life, I've restarted the ssh daemon using code...

Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the restart utility, e.g. restart ssh code...

View 7 Replies View Related

Networking :: Unable To Access Web Server From Computer Running Apache

Aug 2, 2010

I am a newbie to linux of 4 weeks. I set up my first web server and it works flawlessly - when accessed from external network or from other computers on my lan. However, I cannot access it from the computer where the server is run on. I have found numerous people with similar problems but the flavour I am experiencing is somewhat different and no solutions I have found apply to it.I have two network interfaces on my server, eth0 (public static IP connected to internet) and eth1 connected to LAN 192.168.1.0/24 range. The server is 192.168.1.1

I added "192.168.1.1 www.server.com" to the /etc/hosts on the server and also on the other machines on the LAN. All the other machines can open website without any problem.

HOwever, the server itself only opens website if the address is localhost. Internal IP, i.e. 192.168.1.1. gets a time out and so does www.server.com.I do not understand why the record in etc/hosts doesn't point it in the right direction. It seems that when I open address 192.168.1.1 it still gets routed to the external network. I have seen using DNAT to deal with the problem but it didn't work in my case (maybe I didn't do it correctly). I have spent whole evening/night trying to sort it out, it's 4AM now, going to bed frustrated and angry (at myself hahaha). Still like linux very much, won't be going to windows anymore. Please help

View 14 Replies View Related

Ubuntu Networking :: Dialup Modem Computer As Internet Sharing Gateway To Wireless Access?

Mar 4, 2011

I am wanting a computer with an external dialup modem (ppp0 modem through a com port /dev/ttys1) to act as a gateway to the internet, forwarding internet traffic through ethernet (eth0 is set to static 192.168.2.2) to a router (the router is 192.168.2.1) where it will be broadcast to other wireless computers like my laptop (192.168.2.3). I've had this setup until recently when the gateway computer (the one with the modem) died. Now I'm replacing that machine with another box and an install of Ubuntu 10.10 but so far things aren't working for me.

Success so far:I have dialup access working on the new box. Took me a while to work out the configuration for getting dialup working, though the IP address is Dynamic (or it won't stay connected), "Check carrier line" is off, and "Ignore Terminal Strings (stupid mode)" is on in order to successfully connect and stay connected to my ISP. I also had to make my normal (non-root) user "lancer" a member of the "pid" group (the reboot) in order to use gnome-ppp as non-root. The laptop (192.168.2.3) is successfully connecting to the router (192.168.2.1) as I can see the router configuration page when I type http://192.168.2.1 into the laptop's web browser. This setup is unchanged from how I had it before when this was previously working and I don't want to change how the router itself is set up. What I want is to know what to fix in the new box in order to get it connected to the router (through ethernet) and bridging the internet through.

My problem is that whenever I plug in the eth0 from the gateway (192.168.2.2) to the router (192.168.2.1), Ubuntu's automatic plug-me-in network detection kicks in and I find my dialup no longer working through some kind of IP conflict (at least that's what I think it is). Maybe I don't have the "gateway" correctly assigned? (in the gateway computer for the ethernet connection, I had it pointing to itself as I don't know what to put for "gateway IP" as that is automatic So, just to check my connection, here I am pinging google (from the gateway computer which has the dialup modem) once a dialup connection has been made.

Code:
lancer@lancer-desktop:~$ ping www.google.com
PING www.l.google.com (74.125.237.17) 56(84) bytes of data.
64 bytes from 74.125.237.17: icmp_req=1 ttl=55 time=179 ms
64 bytes from 74.125.237.17: icmp_req=2 ttl=55 time=176 ms
64 bytes from 74.125.237.17: icmp_req=3 ttl=55 time=158 ms

[Code]...

What do I need to do in order to make Ubuntu of my gateway computer stay connected to my dialup but also simultaneously share an ethernet LAN to my wireless router and feed traffic to the other computers from there? I have googled this but some of the most promising instruction (e.g. http://www.ubuntugeek.com/sharing-in...in-ubuntu.html) call for packages like dnsmasq or ipmasq which seem defunct now in Ubuntu 10.10. Other pages seem to suggest dual-networks "can't be done" in Ubuntu [URL].. (what!?! I had it before my other gateway died)

View 1 Replies View Related

Ubuntu Networking :: Remote Desktop Access "Your Desktop Is Only Reachable Over The Local Network. Others Can Access Your Computer Using The Address 127.0.0.1 Or Tabatha.local"

Feb 19, 2010

Running Ubuntu 9.10. In the Remote Desktop config dialog I get: "Your desktop is only reachable over the local network. Others can access your computer using the address 127.0.0.1 or tabatha.local." I understand this means only the loopback ip address is available. All my other machines show their true local ip address (e.g., 192.168.1.104) in this dialog. Thus I cannot log on to this desktop from other machines.

When I try to do a remote logon from another Ubuntu 9.10 box (or from an XP box using a VNC viewer), I get: "Connection to 192.168.1.102 has been closed." What steps are needed to make this machine show its actual ip address? All file sharing between the various machines is working properly and all windows shares back and forth between XP and 'nix, and among the the vaious XP boxes and linux boxes are available as designed.

View 1 Replies View Related

General :: Centos 5.3 - Unable To Start Sshd Service - Shows Error

Oct 5, 2010

In centos 5.3 i am unable to start sshd service shows error starting sshd :/etc/init.d/sshd:line102"7182 illegal instruction $sshd$ option

Same error while starting the httpd service.

View 17 Replies View Related

Fedora Servers :: Error - Unit Sshd.service Entered Failed State

Aug 20, 2011

hi, first i'd like to say that i'm totally new to linux, i was allways using windows.

as i was allways unable to install a good and stable ssh-server on windows, i thought it is time to change to linux. i was able to set up and configure a ssh-server on debian but found out, that fedora 15 looks more userfriendly in first place for me. but now i unfortunately experience problems..

the ssh server was already installed, i changed the service setting to that it starts automatically but after i succesfully connected to the LAN, i cannot access the shh via putty for instance. when i type "service sshd status" it says beside other things: active (running). but when i look at the /var/log/messages, it says those two lines:

sshd.service: main process exited, code=exited, status=255
Unit sshd.service entered failed state.

i searched on google without success, the only thing i found was that someone had the same problem with a bad sshd_config file, but i'm pretty sure that everything is alright with my config-file (i checked it several times).

beside this i cant login on the gui, after the firefox update (??) it always says: a problem has occured and the system can't recover bla bla... so i can only use fedora right now commandline-based.. but with this problem i will deal later on...

View 3 Replies View Related

Ubuntu Networking :: Get Segfaults In Sshd When Trying To Connect

Jan 6, 2010

I've started to get segfaults in sshd when trying to connect. There has been no reboot and (until I restarted the sshd to try to fix the problem) there was still another ssh session connected.

The log messages:

Code:
==> kern.log <==
Jan 6 21:33:38 shuttle kernel: [ 1928.611128] sshd[9548]: segfault at bf30e534 eip b7f51b4c esp bf30e510 error 6
==> auth.log <==

[Code]....

View 1 Replies View Related

Ubuntu Networking :: Sshd -D At Startup - How To Remove The -D Option

May 19, 2011

Somehow the -D option got tacked on to my sshd when I start up. How do I remove the -D option when sshd is started at boot? I'm guessing I need to edit something in /etc/init.d but not sure what. I checked System->Preferences->Startup Applications and the ssh server daemon isn't listed there. And since it is a command line option /etc/ssh/sshd_config is of no help.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved