- WD Community
- News & Assistance
- New to Community
- Forum Feedback
- Software & Apps
- WD Software
- WD Mobile Apps
- Software & Accessory Ideas
- WD TV Live Streaming
- Live Streaming Discussions
- Live Streaming Firmware
- Live Streaming Ideas
- Live Streaming Issues
- WD TV Live Hub
- Hub Discussions
- Hub Firmware
- Hub Themes
- WD TV Live Hub Ideas
- WD TV Live Hub Issue Reporting
- WD TV Play
- WD TV Play
- Live & Live Plus
- Live Discussions
- Live Firmware
- Elements Play
- Elements Play
- External Drives
- Mac Externals
- PC Externals
- Portable Drives
- External Drive Ideas
- Network Devices
- Networking Devices
- Live Duo
- My Book Live
- Other Network Drives
- Network Product Ideas
- Internal Drives
- Desktop & Portable
- Internal Drive Ideas
- Nuevo a La Comunidad
- Los Productos de WD
- Software y Accesorios
- Reproductores Multimedia
- Unidades de Red
- Unidades Externas
- Unidades Internas
- Neu in der Community
- WD Produkte
- WD Programme
- WD TV Media Player
- Netzwerk Laufwerke
- Externe Laufwerke
- Interne Laufwerke
- Annunci e Novita'
- Nuovo per La Comunita'
- Prodotti WD
- Programmi & Accessori
- Riproduttori Multimediali
- Dischi di Rete
- Dischi Esterni
- Dischi Interni
- WD TV Legacy
- Hub Network
- Live Networking
- WD TV HD
- WD TV Mini
- WD Photos
- Other Software & Accessories
- Hard Drives
- WD ShareSpace
- Other Externals
- Other Internal Drives
01-21-2012 07:08 AM
How do I get root access via SSH? I have enabled it, but I can't log in as root. It says on the Advance Configiration tab that the password is welc0me.
Note: I can log on via admin, but admin doesn't seem to have any special privs from command line.
I've searched this group and see someone else has/had the exact same issue (http://community.wdc.com/t5/WD-ShareSpace/SSH-Root
I have tried resetting to factory defaults. No luck.
I upgraded to the latest frimware. No luck.
I am not worried about losing any data or configs because I have it backed up, so any suggestions are welcomed.
01-22-2012 06:48 AM
You can mess around a lot of things if you access the My Book in SSH mode, but if you look on Google something should appear.
01-22-2012 09:17 AM
By saying, "You can mess around a lot of things if you access the My Book in SSH mode" I think you missed the point/problem. I can't login with root level permissions. In other words, ssh as root doesn't work and logging in as a standard user (admin) and "su - " does not work.
My assumption is that the root password had been changed in the past and will not reset when setting back to factory defaults, which I have tried a couple of times already.
04-22-2012 10:23 AM
I have tried PuTTy from windows as well as ssh from linux (RHEL), however, the program doesn't matter. I can log in with my admin account and my personal account. I can admin the box with both of these through the GUI, but neither account has any privs when using command line. I need to be able to make some changes from the command line because I can't WRITE to any nfs mounts I've created. I can mount them but I only have READ access.
You can see that I can log into the machine via ssh as admin, but I don't have any privs...
[root@adminserver ~]# ssh firstname.lastname@example.org
Permission denied, please try again.
[root@adminserver ~]# ssh email@example.com
_____ __ __ __ _ _ _ _ _____
/ ____| / / | \/ | | || | | \ | |/ ____|
| (___ / /_ | \ / | ______ | || |_| \| | |
\___ \| '_ \| |\/| ||______||__ _| . ` | |
____) | (_) | | | | | | | |\ | |____
|_____/ \___/|_| |_| |_| |_| \_|\_____|
~ $ grep root /etc/passwd
~ $ grep root /etc/group
~ $ grep root /etcshadow
grep: /etcshadow: No such file or directory
~ $ grep root /etc/shadow
grep: /etc/shadow: Permission denied
~ $ su - root
su: incorrect password
~ $ exit
Connection to 192.168.1.5 closed.
05-25-2012 11:43 AM - edited 05-25-2012 11:49 AM
I just got my live book and am having similar issues. I enabled SSH, downloaded putty and WinSCP and am not able to log into either root or admin though either of those programs. I am able to connect to mylive book through the normal GUI and even connect to it through putty but whenever I try to enter a password I get 'Access Denied.' I have been through ever single forum about enabling ssh and root for mybook, nothing will work for me. I have even tried to connect to mybook by creating a non-root account and cannot access it this way either. The only way I can access it is through the WD GUI. What am I missing? I know what the password is......i know my admin account creds and cant access anything via putty or winscp. There has to be something that is causing this issue, especially since putty can see and connect to the mybook, it just cant verify the password. Any help would be amazing because I might take this thing back if I cant get root on it.
2012-05-25 13:46:04 Looking up host "192.168.0.196"
2012-05-25 13:46:04 Connecting to 192.168.0.196 port 22
2012-05-25 13:46:04 Server version: SSH-2.0-OpenSSH_5.1p1 Debian-5
2012-05-25 13:46:04 Using SSH protocol version 2
2012-05-25 13:46:04 We claim version: SSH-2.0-PuTTY_Release_0.62
2012-05-25 13:46:04 Doing Diffie-Hellman group exchange
2012-05-25 13:46:04 Doing Diffie-Hellman key exchange with hash SHA-256
2012-05-25 13:46:06 Host key fingerprint is:
2012-05-25 13:46:06 ssh-rsa 2048 88:c0:9b:a4:f7:4b:b6:09:f3:f2:89:8c:c0:e9:86:97
2012-05-25 13:46:06 Initialised AES-256 SDCTR client->server encryption
2012-05-25 13:46:06 Initialised HMAC-SHA1 client->server MAC algorithm
2012-05-25 13:46:06 Initialised AES-256 SDCTR server->client encryption
2012-05-25 13:46:06 Initialised HMAC-SHA1 server->client MAC algorithm
2012-05-25 13:46:51 Sent password
2012-05-25 13:46:53 Password authentication failed
2012-05-25 13:47:21 Sent password
2012-05-25 13:47:23 Password authentication failed
2012-05-25 13:47:26 Sent password
2012-05-25 13:47:29 Password authentication failed
2012-05-25 13:47:33 Sent password
2012-05-25 13:47:35 Password authentication failed
2012-05-25 13:48:04 Server unexpectedly closed network connection